Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow") translateModel(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009853/0.0009853, allocations: 98.81 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001154/0.001155, allocations: 183.2 kB / 16.92 MB, free: 6.691 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.351/1.351, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.696/0.696, allocations: 115.5 MB / 407.6 MB, free: 2.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003439/0.0003439, allocations: 8.281 kB / 495.9 MB, free: 6.359 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 77.53 MB / 0.56 GB, free: 9.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow): time 0.001243/0.1751, allocations: 0.9653 MB / 0.5609 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009315/0.1761, allocations: 0.5879 MB / 0.5615 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.302e-05/0.1761, allocations: 4 kB / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.381e-05/0.1761, allocations: 0 / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.313e-05/0.1761, allocations: 0 / 0.5615 GB, free: 7.461 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.1766, allocations: 130.4 kB / 0.5616 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.709e-05/0.1766, allocations: 7.938 kB / 0.5616 GB, free: 7.328 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1767, allocations: 4 kB / 0.5616 GB, free: 7.324 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.732e-05/0.1767, allocations: 7.938 kB / 0.5616 GB, free: 7.316 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.654e-05/0.1767, allocations: 4 kB / 0.5616 GB, free: 7.312 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.659e-06/0.1767, allocations: 4 kB / 0.5616 GB, free: 7.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005056/0.1773, allocations: 347.3 kB / 0.562 GB, free: 6.969 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.838e-06/0.1773, allocations: 3.938 kB / 0.562 GB, free: 6.965 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.1773, allocations: 33.64 kB / 0.562 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002441/0.1776, allocations: 132 kB / 0.5621 GB, free: 6.797 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1776, allocations: 4 kB / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1776, allocations: 0 / 0.5621 GB, free: 6.793 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1776, allocations: 0 / 0.5621 GB, free: 6.793 MB / 430.1 MB 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.0004264/0.178, allocations: 347.4 kB / 0.5625 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.1781, allocations: 12.03 kB / 0.5625 GB, free: 6.391 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.114e-05/0.1781, allocations: 8.938 kB / 0.5625 GB, free: 6.383 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.1782, allocations: 164.4 kB / 0.5626 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1783, allocations: 384 / 0.5626 GB, free: 6.184 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-06/0.1783, allocations: 4.375 kB / 0.5626 GB, free: 6.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.81e-05/0.1784, allocations: 30.25 kB / 0.5627 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1784, allocations: 192 / 0.5627 GB, free: 6.145 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1784, allocations: 3.938 kB / 0.5627 GB, free: 6.141 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1784, allocations: 4 kB / 0.5627 GB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.1784, allocations: 3.938 kB / 0.5627 GB, free: 6.133 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.1786, allocations: 161.6 kB / 0.5628 GB, free: 5.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.832e-05/0.1787, allocations: 22.61 kB / 0.5629 GB, free: 5.895 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.719e-05/0.1787, allocations: 8.922 kB / 0.5629 GB, free: 5.883 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.1787, allocations: 3.984 kB / 0.5629 GB, free: 5.879 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.1787, allocations: 30.56 kB / 0.5629 GB, free: 5.84 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.1787, allocations: 0 / 0.5629 GB, free: 5.84 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.1789, allocations: 57.56 kB / 0.563 GB, free: 5.777 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.1789, allocations: 51.41 kB / 0.563 GB, free: 5.715 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.108e-05/0.179, allocations: 93.86 kB / 0.5631 GB, free: 5.613 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.179, allocations: 25.7 kB / 0.5631 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.171e-05/0.179, allocations: 80.14 kB / 0.5632 GB, free: 5.5 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.1791, allocations: 7.906 kB / 0.5632 GB, free: 5.492 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.1791, allocations: 13.7 kB / 0.5632 GB, free: 5.473 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001145/0.1792, allocations: 319.1 kB / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.115e-05/0.1792, allocations: 0 / 0.5635 GB, free: 5.152 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.1793, allocations: 4 kB / 0.5635 GB, free: 5.148 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.037e-05/0.1793, allocations: 12.86 kB / 0.5635 GB, free: 5.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1793, allocations: 0 / 0.5635 GB, free: 5.133 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.944e-05/0.1794, allocations: 41.62 kB / 0.5636 GB, free: 5.086 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1794, allocations: 5.562 kB / 0.5636 GB, free: 5.082 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1794, allocations: 3.938 kB / 0.5636 GB, free: 5.078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.1794, allocations: 4 kB / 0.5636 GB, free: 5.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1796, allocations: 16.12 kB / 0.5636 GB, free: 5.059 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003833/0.18, allocations: 0.5938 MB / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.18, allocations: 0 / 0.5642 GB, free: 4.441 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1801, allocations: 3.938 kB / 0.5642 GB, free: 4.438 MB / 430.1 MB 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 9.343e-05/0.1802, allocations: 117.8 kB / 0.5643 GB, free: 4.312 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.432e-06/0.1802, allocations: 4.094 kB / 0.5643 GB, free: 4.309 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/0.1803, allocations: 44.81 kB / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1803, allocations: 0 / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1803, allocations: 0 / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1803, allocations: 0 / 0.5643 GB, free: 4.262 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001027/0.1804, allocations: 153.6 kB / 0.5645 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.1804, allocations: 3.984 kB / 0.5645 GB, free: 4.059 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.099e-05/0.1805, allocations: 8 kB / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.1805, allocations: 0 / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.1805, allocations: 0 / 0.5645 GB, free: 4.051 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002933/0.1808, allocations: 0.5898 MB / 0.5651 GB, free: 3.438 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.1808, allocations: 11.95 kB / 0.5651 GB, free: 3.426 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.122e-05/0.1809, allocations: 57.14 kB / 0.5651 GB, free: 3.352 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.181, allocations: 77.11 kB / 0.5652 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.181, allocations: 4.125 kB / 0.5652 GB, free: 3.254 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.478e-05/0.181, allocations: 4 kB / 0.5652 GB, free: 3.25 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.923e-05/0.181, allocations: 11.92 kB / 0.5652 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.755e-06/0.181, allocations: 0 / 0.5652 GB, free: 3.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.246e-05/0.1811, allocations: 75.28 kB / 0.5653 GB, free: 3.164 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.813e-06/0.1811, allocations: 0 / 0.5653 GB, free: 3.164 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001993/0.1813, allocations: 19.94 kB / 0.5653 GB, free: 3.145 MB / 430.1 MB 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 () * Number of clocked 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 (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 Backend phase and start with SimCode phase: time 0.0001555/0.1814, allocations: 115.3 kB / 0.5654 GB, free: 3.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.1816, allocations: 15.98 kB / 0.5654 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1816, allocations: 0 / 0.5654 GB, free: 3.004 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.575e-05/0.1817, allocations: 15.98 kB / 0.5655 GB, free: 2.988 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.1818, allocations: 4 kB / 0.5655 GB, free: 2.984 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003177/0.1822, allocations: 107.3 kB / 0.5656 GB, free: 2.855 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/0.1825, allocations: 0.6808 MB / 0.5662 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 1.771e-05/0.1825, allocations: 0 / 0.5662 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.584e-05/0.1825, allocations: 7.438 kB / 0.5662 GB, free: 2.141 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1825, allocations: 0 / 0.5662 GB, free: 2.141 MB / 430.1 MB Notification: Performance of Templates: time 0.002488/0.185, allocations: 436.3 kB / 0.5667 GB, free: 1.746 MB / 430.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.makefile (rm -f IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.sim & ./IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow.pipe 2>&1)