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.001446/0.001446, allocations: 102.4 kB / 16.35 MB, free: 5.824 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.001649/0.001649, allocations: 195.1 kB / 17.3 MB, free: 5.48 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00203/0.00203, allocations: 289.3 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9469/0.9469, allocations: 169.2 MB / 0.4989 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002926/0.002926, allocations: 102.3 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1642, allocations: 86.97 MB / 0.6816 GB, free: 7.441 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp): time 0.002364/0.1666, allocations: 1.244 MB / 0.6828 GB, free: 6.191 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.1675, allocations: 0.5955 MB / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.1676, allocations: 0 / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.374e-05/0.1676, allocations: 0 / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.926e-05/0.1677, allocations: 0 / 0.6834 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005444/0.1682, allocations: 135.4 kB / 0.6835 GB, free: 5.461 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.024e-05/0.1683, allocations: 23.92 kB / 0.6835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.478e-05/0.1683, allocations: 0 / 0.6835 GB, free: 5.438 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.745e-05/0.1683, allocations: 4 kB / 0.6835 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.885e-05/0.1684, allocations: 11.92 kB / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.1684, allocations: 0 / 0.6836 GB, free: 5.422 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.1689, allocations: 343.3 kB / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.1689, allocations: 0 / 0.6839 GB, free: 5.086 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.023e-05/0.1689, allocations: 4 kB / 0.6839 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.1691, allocations: 139.6 kB / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1692, allocations: 0 / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.1692, allocations: 0 / 0.684 GB, free: 4.945 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.1692, allocations: 4 kB / 0.684 GB, free: 4.941 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.0003213/0.1695, allocations: 351.5 kB / 0.6844 GB, free: 4.547 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1695, allocations: 12.03 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.1696, allocations: 0.9375 kB / 0.6844 GB, free: 4.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.513e-05/0.1697, allocations: 164.4 kB / 0.6845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1697, allocations: 4.375 kB / 0.6845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.666e-06/0.1697, allocations: 384 / 0.6845 GB, free: 4.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.545e-05/0.1698, allocations: 34.2 kB / 0.6846 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.1698, allocations: 192 / 0.6846 GB, free: 4.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.1698, allocations: 3.938 kB / 0.6846 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1698, allocations: 3.938 kB / 0.6846 GB, free: 4.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.553e-05/0.1698, allocations: 12 kB / 0.6846 GB, free: 4.273 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001294/0.17, allocations: 145.7 kB / 0.6847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.766e-05/0.17, allocations: 30.59 kB / 0.6848 GB, free: 4.043 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.1701, allocations: 4.859 kB / 0.6848 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.1701, allocations: 0 / 0.6848 GB, free: 4.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.008e-05/0.1701, allocations: 42.5 kB / 0.6848 GB, free: 3.984 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1701, allocations: 4 kB / 0.6848 GB, free: 3.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001291/0.1702, allocations: 49.53 kB / 0.6849 GB, free: 3.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.1703, allocations: 51.41 kB / 0.6849 GB, free: 3.863 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.935e-05/0.1703, allocations: 97.86 kB / 0.685 GB, free: 3.758 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.1704, allocations: 25.7 kB / 0.685 GB, free: 3.727 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.1704, allocations: 80.14 kB / 0.6851 GB, free: 3.645 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.1704, allocations: 3.984 kB / 0.6851 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/0.1704, allocations: 13.97 kB / 0.6851 GB, free: 3.621 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.1705, allocations: 318.8 kB / 0.6854 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.1706, allocations: 4 kB / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.765e-06/0.1706, allocations: 0 / 0.6854 GB, free: 3.297 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.049e-05/0.1706, allocations: 16.8 kB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1706, allocations: 0 / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.426e-05/0.1707, allocations: 45.59 kB / 0.6855 GB, free: 3.227 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.061e-05/0.1707, allocations: 4 kB / 0.6855 GB, free: 3.223 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1707, allocations: 8.031 kB / 0.6855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.1707, allocations: 0 / 0.6855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001299/0.1709, allocations: 8 kB / 0.6855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003104/0.1712, allocations: 0.586 MB / 0.6861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.895e-05/0.1712, allocations: 4.031 kB / 0.6861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.1712, allocations: 0 / 0.6861 GB, free: 2.594 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 6.659e-05/0.1713, allocations: 117.9 kB / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.454e-06/0.1713, allocations: 0 / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.642e-05/0.1714, allocations: 44.81 kB / 0.6862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1714, allocations: 4 kB / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1714, allocations: 0 / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.1714, allocations: 0 / 0.6862 GB, free: 2.414 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.429e-05/0.1715, allocations: 157.6 kB / 0.6864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1715, allocations: 0 / 0.6864 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.008e-05/0.1716, allocations: 8 kB / 0.6864 GB, free: 2.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1716, allocations: 11.91 kB / 0.6864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.1716, allocations: 0 / 0.6864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002542/0.1719, allocations: 0.586 MB / 0.687 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.1719, allocations: 3.938 kB / 0.687 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.672e-05/0.172, allocations: 65.08 kB / 0.687 GB, free: 1.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.172, allocations: 93.11 kB / 0.6871 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.038e-05/0.172, allocations: 3.984 kB / 0.6871 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.418e-05/0.1721, allocations: 3.938 kB / 0.6871 GB, free: 1.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.1721, allocations: 3.938 kB / 0.6871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.1721, allocations: 0 / 0.6871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.031e-05/0.1721, allocations: 79.28 kB / 0.6872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1721, allocations: 0 / 0.6872 GB, free: 1.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001864/0.1723, allocations: 8 kB / 0.6872 GB, free: 1.289 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.0001427/0.1725, allocations: 116.5 kB / 0.6873 GB, free: 1.164 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001485/0.1726, allocations: 19.98 kB / 0.6874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1726, allocations: 0 / 0.6874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.099e-05/0.1727, allocations: 15.98 kB / 0.6874 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1729, allocations: 3.312 kB / 0.6874 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.1732, allocations: 102.2 kB / 0.6875 GB, free: 1.004 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002082/0.1734, allocations: 0.6729 MB / 0.6881 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.405e-05/0.1734, allocations: 0 / 0.6881 GB, free: 312 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.434e-05/0.1734, allocations: 11.44 kB / 0.6881 GB, free: 300 kB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1734, allocations: 0 / 0.6881 GB, free: 300 kB / 494.1 MB Notification: Performance of Templates: time 0.2377/0.4112, allocations: 444.2 kB / 0.6886 GB, free: 17.82 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_dp.pipe 2>&1)