Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") translateModel(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.71/0.71, allocations: 128.7 MB / 144.5 MB, free: 1.383 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001143/0.001143, allocations: 188.5 kB / 174.2 MB, free: 5.934 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 205 MB / 408.9 MB, free: 9.691 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008905/0.0008905, allocations: 100.5 kB / 485.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009129/0.0009129, allocations: 55.38 kB / 0.558 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1345, allocations: 75.47 MB / 0.6317 GB, free: 33.05 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002174/0.1367, allocations: 1.395 MB / 0.633 GB, free: 31.64 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.4361/0.5728, allocations: 145.8 MB / 0.7754 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.5729, allocations: 0 / 0.7754 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 3.746e-05/0.573, allocations: 2.688 kB / 0.7754 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.707e-05/0.5731, allocations: 13.81 kB / 0.7754 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.5739, allocations: 298.3 kB / 0.7757 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.5741, allocations: 89 kB / 0.7758 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.5741, allocations: 2.094 kB / 0.7758 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.811e-05/0.5741, allocations: 29.59 kB / 0.7758 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.344e-05/0.5742, allocations: 35.19 kB / 0.7759 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.5743, allocations: 5.984 kB / 0.7759 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.575, allocations: 495.3 kB / 0.7763 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.55e-05/0.5751, allocations: 15.09 kB / 0.7764 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.6e-05/0.5751, allocations: 32.92 kB / 0.7764 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003061/0.5755, allocations: 182.7 kB / 0.7766 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.5755, allocations: 2.672 kB / 0.7766 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of FrontEnd: time 6.92e-07/0.5755, allocations: 0 / 0.7766 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.5755, allocations: 0 / 0.7766 GB, free: 13.88 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004561/0.5759, allocations: 403 kB / 0.777 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.576, allocations: 10.16 kB / 0.777 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003706/0.5764, allocations: 32.14 kB / 0.777 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.798e-05/0.5765, allocations: 167 kB / 0.7772 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.5765, allocations: 10.59 kB / 0.7772 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.5765, allocations: 19.09 kB / 0.7772 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.5767, allocations: 75.48 kB / 0.7773 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5767, allocations: 4 kB / 0.7773 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5767, allocations: 2.625 kB / 0.7773 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.5768, allocations: 0 / 0.7773 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.527e-05/0.5768, allocations: 46.48 kB / 0.7773 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.577, allocations: 185.3 kB / 0.7775 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.5772, allocations: 98.56 kB / 0.7776 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.044e-05/0.5773, allocations: 33.52 kB / 0.7776 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002241/0.5775, allocations: 176 kB / 0.7778 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.5776, allocations: 37.14 kB / 0.7778 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=12): time 1.443e-06/0.5776, allocations: 0 / 0.7778 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=19): time 0.001207/0.5788, allocations: 0.5448 MB / 0.7783 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.537e-05/0.5789, allocations: 54.12 kB / 0.7784 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/0.5789, allocations: 94.81 kB / 0.7785 GB, free: 12.36 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.579, allocations: 32.23 kB / 0.7785 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.396e-05/0.579, allocations: 80.52 kB / 0.7786 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.866e-05/0.5791, allocations: 75.45 kB / 0.7787 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.5791, allocations: 39 kB / 0.7787 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.5793, allocations: 325.1 kB / 0.779 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.543e-05/0.5793, allocations: 33.55 kB / 0.779 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.756e-05/0.5794, allocations: 70.69 kB / 0.7791 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.5796, allocations: 116.3 kB / 0.7792 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.5796, allocations: 4 kB / 0.7792 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001935/0.5798, allocations: 154.2 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.5798, allocations: 4.969 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5798, allocations: 3.438 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.5798, allocations: 2.719 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.58, allocations: 39.23 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.58, allocations: 2.406 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.777e-05/0.5801, allocations: 11.09 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.5801, allocations: 5.344 kB / 0.7794 GB, free: 11.75 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (24): * Single equations (assignments): 24 * 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 8.748e-05/0.5802, allocations: 129.3 kB / 0.7796 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.964e-05/0.5802, allocations: 9 kB / 0.7796 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.5803, allocations: 15.94 kB / 0.7796 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.5803, allocations: 2.531 kB / 0.7796 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.5803, allocations: 0 / 0.7796 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.5803, allocations: 10.55 kB / 0.7796 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.5805, allocations: 195.2 kB / 0.7798 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5805, allocations: 1.094 kB / 0.7798 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.5807, allocations: 38.3 kB / 0.7798 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.5807, allocations: 2.656 kB / 0.7798 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.5807, allocations: 8.5 kB / 0.7798 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5807, allocations: 2.688 kB / 0.7798 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5807, allocations: 0 / 0.7798 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.582, allocations: 1.352 MB / 0.7812 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 8.128e-05/0.5821, allocations: 94.73 kB / 0.7812 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.5821, allocations: 6.469 kB / 0.7813 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5822, allocations: 5.828 kB / 0.7813 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.418e-05/0.5823, allocations: 14.64 kB / 0.7813 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.5823, allocations: 11.69 kB / 0.7813 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.5823, allocations: 78.75 kB / 0.7814 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.01e-07/0.5823, allocations: 3.938 kB / 0.7814 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002725/0.5826, allocations: 32.28 kB / 0.7814 GB, free: 10.29 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * 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 (19): * Single equations (assignments): 19 * 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.0001315/0.5827, allocations: 104.2 kB / 0.7815 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001715/0.5829, allocations: 100.5 kB / 0.7816 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5829, allocations: 5.5 kB / 0.7816 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.583, allocations: 57.39 kB / 0.7816 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002328/0.5832, allocations: 15.66 kB / 0.7817 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.5842, allocations: 0.7153 MB / 0.7824 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.5845, allocations: 0.7042 MB / 0.783 GB, free: 8.953 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001391/0.5846, allocations: 26.81 kB / 0.7831 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.5847, allocations: 15.34 kB / 0.7831 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5847, allocations: 0 / 0.7831 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of Templates: time 0.00332/0.588, allocations: 1.157 MB / 0.7842 GB, free: 8.844 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & ./BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)