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.001076/0.001075, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001152/0.001152, allocations: 195.9 kB / 16.14 MB, free: 6.664 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: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002078/0.002078, allocations: 290.7 kB / 290.2 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9342/0.9342, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 97.2 kB / 0.5945 GB, free: 28.24 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1597, allocations: 86.98 MB / 0.6794 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002489/0.1622, allocations: 1.302 MB / 0.6807 GB, free: 15.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.1632, allocations: 0.6039 MB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.374e-05/0.1632, allocations: 0 / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.03e-05/0.1632, allocations: 0 / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.1633, allocations: 4 kB / 0.6813 GB, free: 15.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004255/0.1637, allocations: 122.3 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.874e-05/0.1638, allocations: 15.98 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1638, allocations: 4 kB / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.763e-05/0.1638, allocations: 0 / 0.6814 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.1639, allocations: 7.938 kB / 0.6814 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.01e-05/0.1639, allocations: 3.938 kB / 0.6815 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004609/0.1644, allocations: 343.3 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.127e-05/0.1644, allocations: 0 / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.1644, allocations: 4 kB / 0.6818 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002516/0.1647, allocations: 143.9 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.1647, allocations: 0 / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.1647, allocations: 0 / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.1647, allocations: 4 kB / 0.6819 GB, free: 14.64 MB / 494.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.0003843/0.1651, allocations: 351.5 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.1651, allocations: 8.031 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.495e-05/0.1652, allocations: 4.938 kB / 0.6823 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001127/0.1653, allocations: 164.4 kB / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.1653, allocations: 384 / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1653, allocations: 384 / 0.6824 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.732e-05/0.1654, allocations: 38.19 kB / 0.6825 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1654, allocations: 4.188 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.1655, allocations: 3.938 kB / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.1655, allocations: 0 / 0.6825 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.979e-05/0.1655, allocations: 8 kB / 0.6825 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001493/0.1656, allocations: 145.7 kB / 0.6826 GB, free: 13.79 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.349e-05/0.1657, allocations: 30.53 kB / 0.6826 GB, free: 13.75 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.129e-05/0.1657, allocations: 12.86 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.1658, allocations: 4 kB / 0.6827 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.1658, allocations: 34.56 kB / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1658, allocations: 0 / 0.6827 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001718/0.166, allocations: 53.53 kB / 0.6827 GB, free: 13.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.1661, allocations: 51.41 kB / 0.6828 GB, free: 13.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.838e-05/0.1661, allocations: 89.86 kB / 0.6829 GB, free: 13.47 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1662, allocations: 29.7 kB / 0.6829 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.1662, allocations: 92.38 kB / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.1662, allocations: 0 / 0.683 GB, free: 13.34 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.1663, allocations: 13.72 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.1664, allocations: 318.8 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.1664, allocations: 3.938 kB / 0.6833 GB, free: 13 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.578e-06/0.1664, allocations: 4 kB / 0.6833 GB, free: 12.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.1665, allocations: 8.859 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.1665, allocations: 0 / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.686e-05/0.1666, allocations: 45.67 kB / 0.6834 GB, free: 12.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.1666, allocations: 8 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1666, allocations: 3.938 kB / 0.6834 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.1666, allocations: 3.984 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.1668, allocations: 8 kB / 0.6834 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003769/0.1672, allocations: 0.5859 MB / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.977e-05/0.1672, allocations: 128 / 0.684 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1672, allocations: 4 kB / 0.684 GB, free: 12.29 MB / 494.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.059e-05/0.1673, allocations: 123.1 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-06/0.1673, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001093/0.1675, allocations: 40.83 kB / 0.6841 GB, free: 12.12 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.1675, allocations: 3.984 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1675, allocations: 3.938 kB / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1675, allocations: 0 / 0.6841 GB, free: 12.11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.1676, allocations: 153.7 kB / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1676, allocations: 0 / 0.6843 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.226e-05/0.1677, allocations: 11.98 kB / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1677, allocations: 0 / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1677, allocations: 0 / 0.6843 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003409/0.1681, allocations: 0.5859 MB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1681, allocations: 3.938 kB / 0.6849 GB, free: 11.29 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.1682, allocations: 73.19 kB / 0.6849 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.862e-05/0.1682, allocations: 85.05 kB / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1682, allocations: 0 / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.487e-05/0.1683, allocations: 0 / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/0.1683, allocations: 7.938 kB / 0.685 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.1e-06/0.1683, allocations: 3.984 kB / 0.685 GB, free: 11.08 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.361e-05/0.1683, allocations: 75.28 kB / 0.6851 GB, free: 11.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1683, allocations: 4.125 kB / 0.6851 GB, free: 11 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002037/0.1686, allocations: 12 kB / 0.6851 GB, free: 10.99 MB / 494.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.0002239/0.1688, allocations: 107.2 kB / 0.6852 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.169, allocations: 19.98 kB / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.169, allocations: 0 / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.335e-05/0.1691, allocations: 15.94 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.1693, allocations: 3.547 kB / 0.6853 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005121/0.1698, allocations: 108.4 kB / 0.6854 GB, free: 10.71 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.1701, allocations: 0.677 MB / 0.686 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.003e-05/0.1702, allocations: 0 / 0.686 GB, free: 10 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.33e-05/0.1702, allocations: 11.38 kB / 0.686 GB, free: 9.996 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1702, allocations: 4 kB / 0.686 GB, free: 9.992 MB / 494.1 MB Notification: Performance of Templates: time 0.00272/0.1729, allocations: 431.5 kB / 0.6865 GB, free: 9.605 MB / 494.1 MB 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)