Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008448/0.008448, allocations: 109.7 kB / 15.71 MB, free: 6.48 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.00179/0.001791, allocations: 193.6 kB / 16.64 MB, free: 6.395 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.315/1.315, allocations: 222.9 MB / 240.3 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002334/0.002334, allocations: 286.8 kB / 290.8 MB, free: 1.789 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9495/0.9495, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 111.8 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1647, allocations: 86.96 MB / 0.7663 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002025/0.1668, allocations: 1.247 MB / 0.7675 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.1677, allocations: 0.5838 MB / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.774e-05/0.1678, allocations: 0 / 0.7681 GB, free: 6.641 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.698e-05/0.1678, allocations: 8 kB / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.1679, allocations: 0 / 0.7681 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005666/0.1684, allocations: 142.3 kB / 0.7683 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.1685, allocations: 11.92 kB / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.1686, allocations: 0 / 0.7683 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.31e-05/0.1686, allocations: 4 kB / 0.7683 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.468e-05/0.1687, allocations: 3.938 kB / 0.7683 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.1687, allocations: 4 kB / 0.7683 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005225/0.1692, allocations: 347.3 kB / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.1692, allocations: 0 / 0.7686 GB, free: 6.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.843e-05/0.1693, allocations: 8 kB / 0.7686 GB, free: 6.125 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002669/0.1695, allocations: 143.6 kB / 0.7688 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1695, allocations: 4 kB / 0.7688 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.953e-06/0.1696, allocations: 0 / 0.7688 GB, free: 5.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.1696, allocations: 0 / 0.7688 GB, free: 5.98 MB / 0.5606 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.0004474/0.17, allocations: 355.3 kB / 0.7691 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.1701, allocations: 8.031 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.168e-05/0.1701, allocations: 0.9375 kB / 0.7691 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.1702, allocations: 168.4 kB / 0.7693 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.1703, allocations: 4.375 kB / 0.7693 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1703, allocations: 384 / 0.7693 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.1704, allocations: 34.27 kB / 0.7693 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1704, allocations: 192 / 0.7693 GB, free: 5.328 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.1704, allocations: 11.86 kB / 0.7693 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.1704, allocations: 3.984 kB / 0.7693 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.037e-05/0.1705, allocations: 7.938 kB / 0.7693 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001723/0.1706, allocations: 153.7 kB / 0.7695 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.078e-05/0.1707, allocations: 22.56 kB / 0.7695 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.1707, allocations: 4.859 kB / 0.7695 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.1708, allocations: 4.062 kB / 0.7695 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1708, allocations: 34.56 kB / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1708, allocations: 0 / 0.7695 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.000144/0.171, allocations: 41.7 kB / 0.7696 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.171, allocations: 55.41 kB / 0.7696 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.73e-05/0.1711, allocations: 101.8 kB / 0.7697 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.1711, allocations: 25.7 kB / 0.7698 GB, free: 4.766 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.1711, allocations: 80.14 kB / 0.7698 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.1712, allocations: 7.906 kB / 0.7698 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.845e-05/0.1712, allocations: 13.72 kB / 0.7698 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1713, allocations: 314.8 kB / 0.7701 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.316e-05/0.1713, allocations: 4.125 kB / 0.7702 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.276e-05/0.1714, allocations: 7.984 kB / 0.7702 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.1714, allocations: 12.86 kB / 0.7702 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1714, allocations: 0 / 0.7702 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.901e-05/0.1715, allocations: 37.64 kB / 0.7702 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.1715, allocations: 4 kB / 0.7702 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.1715, allocations: 3.938 kB / 0.7702 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1715, allocations: 4 kB / 0.7702 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001635/0.1717, allocations: 8.078 kB / 0.7702 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003694/0.1721, allocations: 0.5861 MB / 0.7708 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.766e-05/0.1721, allocations: 0 / 0.7708 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1721, allocations: 4 kB / 0.7708 GB, free: 3.637 MB / 0.5606 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 9.233e-05/0.1722, allocations: 115.6 kB / 0.7709 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.1722, allocations: 15.83 kB / 0.7709 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.1724, allocations: 44.92 kB / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1724, allocations: 0 / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1724, allocations: 0 / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1724, allocations: 0 / 0.771 GB, free: 3.453 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1725, allocations: 153.6 kB / 0.7711 GB, free: 3.254 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1725, allocations: 3.938 kB / 0.7711 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.1726, allocations: 11.98 kB / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1726, allocations: 0 / 0.7711 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.1726, allocations: 4 kB / 0.7711 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002874/0.1729, allocations: 0.586 MB / 0.7717 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.1729, allocations: 3.938 kB / 0.7717 GB, free: 2.621 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.678e-05/0.173, allocations: 65.67 kB / 0.7718 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.173, allocations: 81.05 kB / 0.7719 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.069e-05/0.173, allocations: 4 kB / 0.7719 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.1731, allocations: 4.125 kB / 0.7719 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.1731, allocations: 3.938 kB / 0.7719 GB, free: 2.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.1731, allocations: 4 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.1731, allocations: 75.28 kB / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1731, allocations: 0 / 0.7719 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001976/0.1733, allocations: 15.98 kB / 0.772 GB, free: 2.336 MB / 0.5606 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 () * 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.0001609/0.1735, allocations: 112.7 kB / 0.7721 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000161/0.1737, allocations: 20.08 kB / 0.7721 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1737, allocations: 0 / 0.7721 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.401e-05/0.1738, allocations: 15.98 kB / 0.7721 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.1739, allocations: 0 / 0.7721 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003482/0.1743, allocations: 110.1 kB / 0.7722 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.1745, allocations: 0.6806 MB / 0.7729 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.675e-05/0.1745, allocations: 8 kB / 0.7729 GB, free: 1.328 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.204e-05/0.1746, allocations: 7.438 kB / 0.7729 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.1746, allocations: 0 / 0.7729 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.002473/0.177, allocations: 458 kB / 0.7733 GB, free: 0.9062 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)