Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 111.1 kB / 16.42 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 186.6 kB / 17.35 MB, free: 5.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.187/1.187, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7108/0.7108, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 67.39 kB / 0.5863 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1171, allocations: 80.92 MB / 0.6653 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001909/0.1191, allocations: 1.249 MB / 0.6665 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008181/0.1199, allocations: 0.5919 MB / 0.6671 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.666e-05/0.1199, allocations: 0 / 0.6671 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.44e-05/0.1199, allocations: 3.938 kB / 0.6671 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.781e-05/0.12, allocations: 0 / 0.6671 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004236/0.1204, allocations: 135.4 kB / 0.6672 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.06e-05/0.1205, allocations: 11.92 kB / 0.6672 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.169e-05/0.1205, allocations: 8 kB / 0.6672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.451e-05/0.1205, allocations: 0 / 0.6672 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.922e-05/0.1206, allocations: 15.92 kB / 0.6673 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.497e-06/0.1206, allocations: 0 / 0.6673 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004508/0.121, allocations: 339.3 kB / 0.6676 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.875e-06/0.121, allocations: 0 / 0.6676 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.917e-05/0.1211, allocations: 4 kB / 0.6676 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002227/0.1213, allocations: 143.7 kB / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1213, allocations: 0 / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1213, allocations: 0 / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.1213, allocations: 0 / 0.6677 GB, free: 3.426 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000314/0.1216, allocations: 359.3 kB / 0.6681 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.1217, allocations: 13.11 kB / 0.6681 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.426e-05/0.1217, allocations: 4.875 kB / 0.6681 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.532e-05/0.1218, allocations: 164.4 kB / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.1218, allocations: 384 / 0.6682 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-06/0.1218, allocations: 4.312 kB / 0.6683 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.1219, allocations: 41.61 kB / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.1219, allocations: 0 / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-06/0.1219, allocations: 0 / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.1219, allocations: 0 / 0.6683 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.232e-05/0.122, allocations: 8 kB / 0.6683 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.1221, allocations: 149.7 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.578e-05/0.1221, allocations: 30.5 kB / 0.6685 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.514e-05/0.1222, allocations: 8.922 kB / 0.6685 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.1222, allocations: 3.938 kB / 0.6685 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.1222, allocations: 30.56 kB / 0.6685 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1222, allocations: 0 / 0.6685 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001092/0.1223, allocations: 41.7 kB / 0.6686 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.1224, allocations: 59.34 kB / 0.6686 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.692e-05/0.1224, allocations: 97.78 kB / 0.6687 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.1224, allocations: 25.7 kB / 0.6687 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.388e-05/0.1225, allocations: 84.14 kB / 0.6688 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-05/0.1225, allocations: 7.906 kB / 0.6688 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.1225, allocations: 9.719 kB / 0.6688 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.07e-05/0.1226, allocations: 319.1 kB / 0.6691 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.232e-05/0.1226, allocations: 7.984 kB / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.985e-06/0.1226, allocations: 4 kB / 0.6691 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.303e-05/0.1227, allocations: 8.859 kB / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.1227, allocations: 0 / 0.6691 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.393e-05/0.1227, allocations: 41.64 kB / 0.6692 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.1228, allocations: 4 kB / 0.6692 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.357e-06/0.1228, allocations: 3.938 kB / 0.6692 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.478e-06/0.1228, allocations: 8.094 kB / 0.6692 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.1229, allocations: 11.98 kB / 0.6692 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002981/0.1232, allocations: 0.5859 MB / 0.6698 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.692e-05/0.1232, allocations: 0 / 0.6698 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-06/0.1233, allocations: 0 / 0.6698 GB, free: 1.074 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 5.773e-05/0.1233, allocations: 113.9 kB / 0.6699 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.093e-05/0.1233, allocations: 12.02 kB / 0.6699 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.1234, allocations: 44.77 kB / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1234, allocations: 0 / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1234, allocations: 0 / 0.6699 GB, free: 0.8867 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.1235, allocations: 81.09 kB / 0.67 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.878e-06/0.1235, allocations: 3.938 kB / 0.67 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.393e-05/0.1235, allocations: 0 / 0.67 GB, free: 0.7852 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.06e-05/0.1235, allocations: 4 kB / 0.67 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000148/0.1237, allocations: 129.9 kB / 0.6702 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001185/0.1238, allocations: 230.6 kB / 0.6704 GB, free: 412 kB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.375e-05/0.1238, allocations: 0 / 0.6704 GB, free: 412 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.41e-05/0.1239, allocations: 91.2 kB / 0.6705 GB, free: 320 kB / 0.4981 GB Notification: Performance of Backend: time 3.11e-07/0.1239, allocations: 4.219 kB / 0.6705 GB, free: 316 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005009/0.1244, allocations: 146.2 kB / 0.6706 GB, free: 160 kB / 0.4981 GB Notification: Performance of SimCode: time 0.000379/0.1248, allocations: 0.5555 MB / 0.6711 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.002803/0.1276, allocations: 1.111 MB / 0.6722 GB, free: 14.45 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)