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.4.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.4.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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6419/0.6419, allocations: 117.9 MB / 133.9 MB, free: 4.504 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.001009/0.001009, allocations: 182 kB / 161.7 MB, free: 2.73 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.3 MB / 394.8 MB, free: 20.95 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.0007991/0.0007991, allocations: 98.91 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004129/0.0004132, allocations: 12 kB / 0.5423 GB, free: 6.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4068/0.4073, allocations: 74.54 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.533/5.94, allocations: 2.164 GB / 2.779 GB, free: 224.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/5.94, allocations: 79.95 kB / 2.779 GB, free: 224.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05923/6, allocations: 30.28 MB / 2.809 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.044e-06/6, allocations: 0 / 2.809 GB, free: 194.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.648e-06/6, allocations: 4 kB / 2.809 GB, free: 194.2 MB / 0.6355 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.0004958/6, allocations: 383.3 kB / 2.809 GB, free: 193.7 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/6, allocations: 12.03 kB / 2.809 GB, free: 193.7 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004419/6.001, allocations: 36.89 kB / 2.809 GB, free: 193.7 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/6.001, allocations: 168.2 kB / 2.809 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/6.001, allocations: 8.375 kB / 2.809 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.95e-05/6.001, allocations: 12.31 kB / 2.809 GB, free: 193.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/6.001, allocations: 78.16 kB / 2.809 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/6.001, allocations: 192 / 2.809 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/6.001, allocations: 3.938 kB / 2.809 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/6.001, allocations: 0 / 2.809 GB, free: 193.4 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.881e-05/6.001, allocations: 43.95 kB / 2.809 GB, free: 193.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002383/6.002, allocations: 193.5 kB / 2.809 GB, free: 193.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/6.002, allocations: 90.56 kB / 2.81 GB, free: 193 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/6.002, allocations: 28.84 kB / 2.81 GB, free: 193 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002412/6.002, allocations: 178.2 kB / 2.81 GB, free: 192.8 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/6.002, allocations: 34.56 kB / 2.81 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.743e-06/6.002, allocations: 0 / 2.81 GB, free: 192.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001274/6.003, allocations: 0.541 MB / 2.81 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/6.003, allocations: 55.41 kB / 2.81 GB, free: 192.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.107e-05/6.004, allocations: 93.86 kB / 2.81 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.964e-05/6.004, allocations: 29.7 kB / 2.81 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.585e-05/6.004, allocations: 88.5 kB / 2.811 GB, free: 191.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.475e-05/6.004, allocations: 67 kB / 2.811 GB, free: 191.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.752e-06/6.004, allocations: 4 kB / 2.811 GB, free: 191.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.116e-05/6.004, allocations: 318.8 kB / 2.811 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.942e-05/6.004, allocations: 44.09 kB / 2.811 GB, free: 191.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.755e-05/6.004, allocations: 72.89 kB / 2.811 GB, free: 191.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/6.004, allocations: 111.4 kB / 2.811 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/6.004, allocations: 3.938 kB / 2.811 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002027/6.004, allocations: 161.5 kB / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/6.004, allocations: 5.719 kB / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/6.004, allocations: 7.938 kB / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/6.004, allocations: 4 kB / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/6.005, allocations: 35.98 kB / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/6.005, allocations: 0 / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.345e-05/6.005, allocations: 8 kB / 2.811 GB, free: 191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/6.005, allocations: 4 kB / 2.811 GB, free: 191 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.951e-05/6.005, allocations: 129.7 kB / 2.812 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.335e-05/6.005, allocations: 8 kB / 2.812 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/6.005, allocations: 16.44 kB / 2.812 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/6.005, allocations: 4 kB / 2.812 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/6.005, allocations: 0 / 2.812 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/6.005, allocations: 4 kB / 2.812 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001374/6.005, allocations: 193.6 kB / 2.812 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/6.005, allocations: 0 / 2.812 GB, free: 190.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/6.005, allocations: 39.92 kB / 2.812 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/6.005, allocations: 0 / 2.812 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/6.005, allocations: 15.92 kB / 2.812 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/6.005, allocations: 0 / 2.812 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/6.005, allocations: 0 / 2.812 GB, free: 190.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/6.005, allocations: 210.2 kB / 2.812 GB, free: 190.3 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.202e-05/6.006, allocations: 93.06 kB / 2.812 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.973e-05/6.006, allocations: 11.98 kB / 2.812 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/6.006, allocations: 11.98 kB / 2.812 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.596e-05/6.006, allocations: 7.984 kB / 2.812 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/6.006, allocations: 11.94 kB / 2.812 GB, free: 190.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.391e-05/6.006, allocations: 75.28 kB / 2.812 GB, free: 190 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.51e-07/6.006, allocations: 96 / 2.812 GB, free: 190 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003478/6.006, allocations: 67.98 kB / 2.812 GB, free: 190 MB / 0.6355 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007502/6.007, allocations: 0.5518 MB / 2.813 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002157/6.007, allocations: 107.1 kB / 2.813 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/6.007, allocations: 0 / 2.813 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.487e-05/6.007, allocations: 51.92 kB / 2.813 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/6.007, allocations: 24.42 kB / 2.813 GB, free: 189.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007809/6.008, allocations: 0.6201 MB / 2.814 GB, free: 188.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/6.008, allocations: 0.7049 MB / 2.814 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000143/6.009, allocations: 28.62 kB / 2.814 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.854e-05/6.009, allocations: 15.44 kB / 2.814 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of SimCode: time 2.41e-07/6.009, allocations: 0 / 2.814 GB, free: 187.8 MB / 0.6355 GB Notification: Performance of Templates: time 0.01122/6.02, allocations: 8.177 MB / 2.822 GB, free: 179.6 MB / 0.6355 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)