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.005427/0.005427, allocations: 105.4 kB / 15.74 MB, free: 6.039 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.001249/0.001249, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002083/0.002083, allocations: 275.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9735/0.9735, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00164/0.00164, allocations: 95.84 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1578, allocations: 86.98 MB / 0.7664 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002804/0.1606, allocations: 1.232 MB / 0.7676 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001079/0.1617, allocations: 0.5877 MB / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1618, allocations: 0 / 0.7682 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.254e-05/0.1618, allocations: 7.922 kB / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/0.1619, allocations: 0 / 0.7682 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005584/0.1624, allocations: 147.1 kB / 0.7683 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.594e-05/0.1625, allocations: 15.94 kB / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.132e-05/0.1626, allocations: 0 / 0.7683 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.19e-05/0.1626, allocations: 7.922 kB / 0.7683 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.1627, allocations: 4 kB / 0.7683 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.226e-05/0.1627, allocations: 3.938 kB / 0.7683 GB, free: 6.426 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005409/0.1632, allocations: 343.3 kB / 0.7687 GB, free: 6.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.333e-05/0.1632, allocations: 3.984 kB / 0.7687 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.172e-05/0.1633, allocations: 7.984 kB / 0.7687 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.1635, allocations: 139.7 kB / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.1635, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.806e-06/0.1635, allocations: 0 / 0.7688 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1635, allocations: 3.938 kB / 0.7688 GB, free: 5.938 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.0003817/0.1639, allocations: 351.4 kB / 0.7691 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.164, allocations: 12.03 kB / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.229e-05/0.164, allocations: 0.9375 kB / 0.7692 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.1641, allocations: 160.4 kB / 0.7693 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.1641, allocations: 4.375 kB / 0.7693 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.043e-05/0.1642, allocations: 8.359 kB / 0.7693 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/0.1642, allocations: 34.25 kB / 0.7694 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.1643, allocations: 4.188 kB / 0.7694 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1643, allocations: 3.938 kB / 0.7694 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1643, allocations: 0 / 0.7694 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.307e-05/0.1643, allocations: 0 / 0.7694 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001525/0.1645, allocations: 157.7 kB / 0.7695 GB, free: 5.074 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.235e-05/0.1645, allocations: 30.61 kB / 0.7695 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.637e-05/0.1646, allocations: 4.859 kB / 0.7696 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.1646, allocations: 0 / 0.7696 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1646, allocations: 34.56 kB / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.1646, allocations: 0 / 0.7696 GB, free: 4.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001394/0.1648, allocations: 49.56 kB / 0.7696 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.1648, allocations: 51.53 kB / 0.7697 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.627e-05/0.1649, allocations: 101.9 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.1649, allocations: 29.64 kB / 0.7698 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.1649, allocations: 80.14 kB / 0.7699 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.165, allocations: 3.906 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-05/0.165, allocations: 13.72 kB / 0.7699 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1651, allocations: 318.8 kB / 0.7702 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.1651, allocations: 4 kB / 0.7702 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.333e-06/0.1651, allocations: 4.125 kB / 0.7702 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.586e-05/0.1652, allocations: 8.859 kB / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1652, allocations: 0 / 0.7702 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.814e-05/0.1652, allocations: 49.62 kB / 0.7703 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.1652, allocations: 4 kB / 0.7703 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1653, allocations: 3.938 kB / 0.7703 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.1653, allocations: 3.938 kB / 0.7703 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.1654, allocations: 8 kB / 0.7703 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003763/0.1658, allocations: 0.5822 MB / 0.7709 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.248e-05/0.1659, allocations: 7.891 kB / 0.7709 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.1659, allocations: 4.031 kB / 0.7709 GB, free: 3.586 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.855e-05/0.166, allocations: 114.4 kB / 0.771 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.123e-06/0.166, allocations: 0 / 0.771 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001077/0.1661, allocations: 52.84 kB / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1661, allocations: 0 / 0.771 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1661, allocations: 4 kB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.1661, allocations: 0 / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001108/0.1662, allocations: 145.6 kB / 0.7712 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1662, allocations: 0 / 0.7712 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.1663, allocations: 11.98 kB / 0.7712 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1663, allocations: 0 / 0.7712 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.1663, allocations: 4 kB / 0.7712 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003233/0.1667, allocations: 0.5899 MB / 0.7718 GB, free: 2.586 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1667, allocations: 3.938 kB / 0.7718 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.135e-05/0.1668, allocations: 61.67 kB / 0.7718 GB, free: 2.504 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.1668, allocations: 81.05 kB / 0.7719 GB, free: 2.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1668, allocations: 4 kB / 0.7719 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.34e-05/0.1669, allocations: 0 / 0.7719 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.1669, allocations: 12.05 kB / 0.7719 GB, free: 2.391 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.1669, allocations: 4 kB / 0.7719 GB, free: 2.387 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.1669, allocations: 83.22 kB / 0.772 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1669, allocations: 0 / 0.772 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001895/0.1671, allocations: 12 kB / 0.772 GB, free: 2.293 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.0001923/0.1673, allocations: 107.2 kB / 0.7721 GB, free: 2.176 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.1675, allocations: 32.02 kB / 0.7721 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1675, allocations: 0 / 0.7721 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.169e-05/0.1676, allocations: 11.98 kB / 0.7722 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001393/0.1678, allocations: 9.969 kB / 0.7722 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003198/0.1681, allocations: 102.1 kB / 0.7723 GB, free: 1.996 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1683, allocations: 0.6844 MB / 0.7729 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 1.552e-05/0.1684, allocations: 4.125 kB / 0.7729 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.569e-05/0.1684, allocations: 7.438 kB / 0.7729 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.1684, allocations: 0 / 0.7729 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of Templates: time 0.002497/0.1709, allocations: 452.5 kB / 0.7734 GB, free: 0.8672 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)