Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.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.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00119/0.00119, allocations: 103.4 kB / 16.35 MB, free: 6.289 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.001225/0.001225, allocations: 193.4 kB / 17.29 MB, free: 5.863 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.26/1.26, 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.002121/0.002121, allocations: 288.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8847/0.8847, allocations: 169.2 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00173/0.00173, allocations: 97.45 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1566, allocations: 86.98 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions): time 0.00215/0.1588, allocations: 1.27 MB / 0.6828 GB, free: 6.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000878/0.1597, allocations: 0.5955 MB / 0.6834 GB, free: 5.586 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.252e-05/0.1597, allocations: 7.875 kB / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.596e-05/0.1597, allocations: 0 / 0.6834 GB, free: 5.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.702e-05/0.1598, allocations: 7.922 kB / 0.6834 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.1602, allocations: 142.5 kB / 0.6836 GB, free: 5.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.1603, allocations: 19.92 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.1603, allocations: 4 kB / 0.6836 GB, free: 5.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.908e-05/0.1604, allocations: 7.938 kB / 0.6836 GB, free: 5.402 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.176e-05/0.1604, allocations: 19.97 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.133e-05/0.1604, allocations: 0 / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004558/0.1609, allocations: 335.3 kB / 0.6839 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.377e-05/0.1609, allocations: 11.92 kB / 0.684 GB, free: 5.043 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.1609, allocations: 8 kB / 0.684 GB, free: 5.035 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.1612, allocations: 147.6 kB / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1612, allocations: 0 / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1612, allocations: 0 / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1612, allocations: 0 / 0.6841 GB, free: 4.891 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00039/0.1616, allocations: 359.5 kB / 0.6844 GB, free: 4.488 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1616, allocations: 11.97 kB / 0.6845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.889e-05/0.1617, allocations: 4.938 kB / 0.6845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001065/0.1618, allocations: 168.3 kB / 0.6846 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1618, allocations: 384 / 0.6846 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.1618, allocations: 4.375 kB / 0.6846 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1619, allocations: 38.25 kB / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.76e-06/0.1619, allocations: 192 / 0.6847 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.1619, allocations: 15.92 kB / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1619, allocations: 0 / 0.6847 GB, free: 4.207 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.087e-05/0.162, allocations: 15.94 kB / 0.6847 GB, free: 4.191 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.1623, allocations: 252.9 kB / 0.6849 GB, free: 3.895 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.1625, allocations: 46.56 kB / 0.685 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.064e-05/0.1625, allocations: 24.84 kB / 0.685 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1625, allocations: 0 / 0.685 GB, free: 3.812 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.765e-05/0.1626, allocations: 38.56 kB / 0.685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.1626, allocations: 0 / 0.685 GB, free: 3.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.000173/0.1628, allocations: 61.62 kB / 0.6851 GB, free: 3.699 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.1628, allocations: 51.41 kB / 0.6851 GB, free: 3.637 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.569e-05/0.1629, allocations: 97.84 kB / 0.6852 GB, free: 3.531 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.1629, allocations: 25.7 kB / 0.6853 GB, free: 3.5 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.888e-05/0.163, allocations: 88.03 kB / 0.6853 GB, free: 3.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.438e-06/0.163, allocations: 11.91 kB / 0.6854 GB, free: 3.398 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.163, allocations: 21.72 kB / 0.6854 GB, free: 3.371 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.47e-05/0.1631, allocations: 314.8 kB / 0.6857 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.03e-05/0.1631, allocations: 11.94 kB / 0.6857 GB, free: 3.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.1632, allocations: 17.72 kB / 0.6857 GB, free: 3.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.761e-05/0.1632, allocations: 37.64 kB / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1632, allocations: 0 / 0.6857 GB, free: 2.977 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.403e-05/0.1633, allocations: 65.47 kB / 0.6858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.1633, allocations: 8 kB / 0.6858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1634, allocations: 0 / 0.6858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1634, allocations: 0 / 0.6858 GB, free: 2.898 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.957e-05/0.1634, allocations: 12 kB / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.1634, allocations: 0 / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.195e-05/0.1635, allocations: 0 / 0.6858 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1635, allocations: 4 kB / 0.6858 GB, free: 2.883 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.863e-05/0.1636, allocations: 117.7 kB / 0.6859 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.38e-05/0.1636, allocations: 8.031 kB / 0.686 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001468/0.1637, allocations: 61.12 kB / 0.686 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1638, allocations: 480 / 0.686 GB, free: 2.68 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.1638, allocations: 4 kB / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.1638, allocations: 0 / 0.686 GB, free: 2.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.1639, allocations: 161.5 kB / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1639, allocations: 0 / 0.6862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.164, allocations: 11.98 kB / 0.6862 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.164, allocations: 3.984 kB / 0.6862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.164, allocations: 0 / 0.6862 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.164, allocations: 4 kB / 0.6862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.164, allocations: 0 / 0.6862 GB, free: 2.449 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.1641, allocations: 151.4 kB / 0.6863 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.287e-05/0.1642, allocations: 77.11 kB / 0.6864 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.23e-05/0.1642, allocations: 7.938 kB / 0.6864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.727e-05/0.1642, allocations: 0 / 0.6864 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1643, allocations: 4.109 kB / 0.6864 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.1643, allocations: 4 kB / 0.6864 GB, free: 2.176 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.459e-05/0.1643, allocations: 87.28 kB / 0.6865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1643, allocations: 3.938 kB / 0.6865 GB, free: 2.086 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.1646, allocations: 20 kB / 0.6865 GB, free: 2.066 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.1648, allocations: 111.2 kB / 0.6866 GB, free: 1.945 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.378e-05/0.1649, allocations: 23.98 kB / 0.6867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1649, allocations: 0 / 0.6867 GB, free: 1.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.1649, allocations: 15.94 kB / 0.6867 GB, free: 1.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1651, allocations: 19.88 kB / 0.6867 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002581/0.1654, allocations: 118.7 kB / 0.6868 GB, free: 1.746 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1656, allocations: 0.6729 MB / 0.6875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.732e-05/0.1657, allocations: 7.984 kB / 0.6875 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.1657, allocations: 11.44 kB / 0.6875 GB, free: 1.027 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1657, allocations: 4 kB / 0.6875 GB, free: 1.023 MB / 494.1 MB Notification: Performance of Templates: time 0.002361/0.1681, allocations: 0.509 MB / 0.688 GB, free: 0.5273 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.sim & ./BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.InverseFlowFunctions.pipe 2>&1)