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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 169 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7688/0.7688, allocations: 130.7 MB / 138.7 MB, free: 3.598 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 221.5 MB / 391.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008662/0.0008664, allocations: 96.09 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.115e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5016, allocations: 81.56 MB / 0.6282 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.6573, allocations: 110.8 MB / 0.7364 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.6576, allocations: 79.95 kB / 0.7364 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007014/0.6646, allocations: 2.307 MB / 0.7387 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6646, allocations: 1.312 kB / 0.7387 GB, free: 13.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.6647, allocations: 0 / 0.7387 GB, free: 13.6 MB / 0.5261 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.0003843/0.6651, allocations: 326.5 kB / 0.739 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/0.6651, allocations: 8.031 kB / 0.739 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.6652, allocations: 0 / 0.739 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.6654, allocations: 167 kB / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.837e-05/0.6654, allocations: 4 kB / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.187e-06/0.6654, allocations: 0 / 0.7392 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.449e-05/0.6655, allocations: 7.938 kB / 0.7392 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.265e-05/0.6656, allocations: 29.7 kB / 0.7392 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.6656, allocations: 0 / 0.7392 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.62e-05/0.6656, allocations: 4 kB / 0.7392 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.6656, allocations: 0 / 0.7392 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001998/0.6659, allocations: 139.6 kB / 0.7394 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.941e-05/0.6659, allocations: 26.55 kB / 0.7394 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.385e-05/0.666, allocations: 12.92 kB / 0.7394 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.666, allocations: 0 / 0.7394 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.666, allocations: 30.56 kB / 0.7394 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 6.61e-07/0.666, allocations: 0 / 0.7394 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0001741/0.6662, allocations: 41.62 kB / 0.7395 GB, free: 12.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.6663, allocations: 51.41 kB / 0.7395 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.6664, allocations: 97.03 kB / 0.7396 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.717e-05/0.6664, allocations: 25.7 kB / 0.7396 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.6665, allocations: 80.14 kB / 0.7397 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.6665, allocations: 3.906 kB / 0.7397 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-06/0.6665, allocations: 0 / 0.7397 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6666, allocations: 314.8 kB / 0.74 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.418e-05/0.6667, allocations: 0 / 0.74 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.725e-06/0.6667, allocations: 7.938 kB / 0.74 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.108e-05/0.6667, allocations: 12.17 kB / 0.74 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6667, allocations: 3.953 kB / 0.74 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.66e-05/0.6668, allocations: 33.7 kB / 0.7401 GB, free: 12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.6668, allocations: 4 kB / 0.7401 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6668, allocations: 3.938 kB / 0.7401 GB, free: 12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.6668, allocations: 4 kB / 0.7401 GB, free: 11.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.667, allocations: 7.984 kB / 0.7401 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004651/0.6675, allocations: 0.5861 MB / 0.7407 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.37e-05/0.6676, allocations: 0 / 0.7407 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.6676, allocations: 3.953 kB / 0.7407 GB, free: 11.37 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.6677, allocations: 105 kB / 0.7408 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.763e-06/0.6677, allocations: 0 / 0.7408 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001217/0.6678, allocations: 49.38 kB / 0.7408 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.6678, allocations: 0 / 0.7408 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.6679, allocations: 128 / 0.7408 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.6679, allocations: 4.875 kB / 0.7408 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.668, allocations: 134.2 kB / 0.7409 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.668, allocations: 0 / 0.7409 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.128e-05/0.6681, allocations: 11.98 kB / 0.7409 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.6681, allocations: 0 / 0.7409 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.6681, allocations: 0 / 0.7409 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003583/0.6684, allocations: 0.5871 MB / 0.7415 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6685, allocations: 4.094 kB / 0.7415 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.758e-05/0.6685, allocations: 69.06 kB / 0.7416 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.6686, allocations: 81.09 kB / 0.7417 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.6686, allocations: 0 / 0.7417 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.304e-05/0.6686, allocations: 0 / 0.7417 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.6687, allocations: 3.938 kB / 0.7417 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.6687, allocations: 4 kB / 0.7417 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.016e-05/0.6687, allocations: 87.27 kB / 0.7418 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6687, allocations: 0 / 0.7418 GB, free: 10.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001861/0.6689, allocations: 12 kB / 0.7418 GB, free: 10.12 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002124/0.6691, allocations: 120.8 kB / 0.7419 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.6693, allocations: 15.92 kB / 0.7419 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6693, allocations: 0 / 0.7419 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.453e-05/0.6694, allocations: 16.09 kB / 0.7419 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001246/0.6695, allocations: 4.062 kB / 0.7419 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002335/0.6698, allocations: 49.31 kB / 0.742 GB, free: 9.891 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.6701, allocations: 0.6768 MB / 0.7426 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.6701, allocations: 4 kB / 0.7426 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.6702, allocations: 7.438 kB / 0.7426 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of SimCode: time 2.4e-07/0.6702, allocations: 0 / 0.7426 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of Templates: time 0.002423/0.6726, allocations: 407.8 kB / 0.743 GB, free: 8.777 MB / 0.5261 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)