Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001063/0.001063, allocations: 109 kB / 16.41 MB, free: 6.516 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.001028/0.001028, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.273/1.273, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7666/0.7666, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 68.44 kB / 0.582 GB, free: 23.78 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1214, allocations: 80.21 MB / 0.6603 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.002052/0.1235, allocations: 1.237 MB / 0.6615 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008884/0.1244, allocations: 0.5982 MB / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.1244, allocations: 0 / 0.6621 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1245, allocations: 3.938 kB / 0.6621 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.706e-05/0.1245, allocations: 11.98 kB / 0.6621 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.125, allocations: 127.4 kB / 0.6623 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.139e-05/0.1251, allocations: 23.91 kB / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.386e-05/0.1251, allocations: 0 / 0.6623 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.892e-05/0.1251, allocations: 4 kB / 0.6623 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.297e-05/0.1252, allocations: 0 / 0.6623 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.1252, allocations: 3.938 kB / 0.6623 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004901/0.1257, allocations: 347.3 kB / 0.6626 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-06/0.1257, allocations: 4 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.1257, allocations: 7.984 kB / 0.6626 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.126, allocations: 135.7 kB / 0.6628 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.126, allocations: 0 / 0.6628 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.273e-06/0.126, allocations: 0 / 0.6628 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.126, allocations: 4 kB / 0.6628 GB, free: 7.773 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.0003552/0.1264, allocations: 351.5 kB / 0.6631 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.1264, allocations: 8.031 kB / 0.6631 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.55e-05/0.1264, allocations: 4.875 kB / 0.6631 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.1265, allocations: 164.4 kB / 0.6633 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.1266, allocations: 384 / 0.6633 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.1266, allocations: 4.375 kB / 0.6633 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.86e-05/0.1267, allocations: 37.56 kB / 0.6633 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.1267, allocations: 4 kB / 0.6633 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.1267, allocations: 0 / 0.6633 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.1267, allocations: 0 / 0.6633 GB, free: 7.121 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.1267, allocations: 8 kB / 0.6633 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001372/0.1269, allocations: 145.7 kB / 0.6635 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.1269, allocations: 34.55 kB / 0.6635 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.696e-05/0.1269, allocations: 4.859 kB / 0.6635 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.018e-05/0.127, allocations: 3.938 kB / 0.6635 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.127, allocations: 34.62 kB / 0.6635 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.127, allocations: 0 / 0.6635 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.1271, allocations: 45.59 kB / 0.6636 GB, free: 6.773 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.1272, allocations: 59.47 kB / 0.6636 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.612e-05/0.1273, allocations: 93.86 kB / 0.6637 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.1273, allocations: 33.64 kB / 0.6638 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.47e-05/0.1273, allocations: 80.14 kB / 0.6638 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1273, allocations: 3.906 kB / 0.6638 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.1274, allocations: 13.72 kB / 0.6639 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.1275, allocations: 318.8 kB / 0.6642 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.396e-05/0.1275, allocations: 4 kB / 0.6642 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-06/0.1275, allocations: 4.125 kB / 0.6642 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.1275, allocations: 8.859 kB / 0.6642 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1275, allocations: 4 kB / 0.6642 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.952e-05/0.1276, allocations: 41.64 kB / 0.6642 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.1276, allocations: 7.984 kB / 0.6642 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1276, allocations: 3.938 kB / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1277, allocations: 0 / 0.6642 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.1278, allocations: 8 kB / 0.6642 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003376/0.1281, allocations: 0.5822 MB / 0.6648 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.988e-05/0.1282, allocations: 4 kB / 0.6648 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.385e-06/0.1282, allocations: 8.016 kB / 0.6648 GB, free: 5.43 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 6.392e-05/0.1283, allocations: 114.7 kB / 0.6649 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-06/0.1283, allocations: 3.984 kB / 0.6649 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.1284, allocations: 52.84 kB / 0.665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1284, allocations: 0 / 0.665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1284, allocations: 0 / 0.665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.852e-05/0.1284, allocations: 81.11 kB / 0.6651 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.159e-05/0.1285, allocations: 3.938 kB / 0.6651 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.532e-05/0.1285, allocations: 0 / 0.6651 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.062e-05/0.1285, allocations: 0 / 0.6651 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001733/0.1287, allocations: 141.8 kB / 0.6652 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000128/0.1288, allocations: 218.8 kB / 0.6654 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.084e-05/0.1288, allocations: 15.95 kB / 0.6654 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.677e-05/0.1289, allocations: 79.22 kB / 0.6655 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of Backend: time 3.6e-07/0.1289, allocations: 0 / 0.6655 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005596/0.1294, allocations: 158.7 kB / 0.6656 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of SimCode: time 0.0004324/0.1299, allocations: 0.5575 MB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of Templates: time 0.003143/0.133, allocations: 1.102 MB / 0.6673 GB, free: 2.836 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)