Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") translateModel(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8248/0.8248, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 184.8 kB / 182.2 MB, free: 9.469 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 221.5 MB / 436.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009813/0.0009814, allocations: 88.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001778/0.001778, allocations: 274.3 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.304e-05/1.317e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4092, allocations: 82.78 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.515/9.924, allocations: 4.148 GB / 4.905 GB, free: 18.98 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/9.924, allocations: 83.58 kB / 4.906 GB, free: 18.94 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4443/10.37, allocations: 35.95 MB / 4.941 GB, free: 255.7 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.046e-06/10.37, allocations: 0 / 4.941 GB, free: 255.7 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.172e-06/10.37, allocations: 5.625 kB / 4.941 GB, free: 255.7 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002958/10.37, allocations: 340.3 kB / 4.941 GB, free: 255.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/10.37, allocations: 11.75 kB / 4.941 GB, free: 255.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001756/10.37, allocations: 14.03 kB / 4.941 GB, free: 255.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.116e-05/10.37, allocations: 170.8 kB / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/10.37, allocations: 0 / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.822e-05/10.37, allocations: 18.16 kB / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.897e-05/10.37, allocations: 11.67 kB / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.49e-05/10.37, allocations: 49.58 kB / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/10.37, allocations: 0 / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/10.37, allocations: 0 / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/10.37, allocations: 0 / 4.941 GB, free: 255.1 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/10.37, allocations: 145 kB / 4.941 GB, free: 254.9 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.544e-05/10.37, allocations: 45.34 kB / 4.941 GB, free: 254.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.57e-05/10.37, allocations: 14.86 kB / 4.941 GB, free: 254.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.502e-05/10.37, allocations: 3.844 kB / 4.941 GB, free: 254.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/10.37, allocations: 37.64 kB / 4.941 GB, free: 254.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/10.37, allocations: 0 / 4.941 GB, free: 254.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0006032/10.37, allocations: 328.3 kB / 4.942 GB, free: 254.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.498e-05/10.37, allocations: 61.25 kB / 4.942 GB, free: 254.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.032e-05/10.37, allocations: 92.75 kB / 4.942 GB, free: 254.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/10.37, allocations: 25.7 kB / 4.942 GB, free: 254.4 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.777e-05/10.37, allocations: 86.61 kB / 4.942 GB, free: 254.3 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/10.37, allocations: 30.58 kB / 4.942 GB, free: 254.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-06/10.37, allocations: 3.594 kB / 4.942 GB, free: 254.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/10.37, allocations: 318.1 kB / 4.942 GB, free: 254 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.766e-05/10.37, allocations: 14.16 kB / 4.942 GB, free: 254 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.889e-05/10.37, allocations: 34.12 kB / 4.942 GB, free: 254 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.82e-05/10.37, allocations: 24.77 kB / 4.942 GB, free: 254 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/10.37, allocations: 0 / 4.942 GB, free: 254 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001064/10.37, allocations: 83.27 kB / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/10.37, allocations: 3.844 kB / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/10.37, allocations: 3.844 kB / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/10.37, allocations: 0 / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/10.37, allocations: 23.62 kB / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/10.37, allocations: 0 / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/10.37, allocations: 3.938 kB / 4.943 GB, free: 253.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/10.37, allocations: 6.828 kB / 4.943 GB, free: 253.9 MB / 0.698 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.032e-05/10.37, allocations: 104.9 kB / 4.943 GB, free: 253.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.74e-05/10.37, allocations: 15.16 kB / 4.943 GB, free: 253.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/10.37, allocations: 10.72 kB / 4.943 GB, free: 253.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/10.37, allocations: 0 / 4.943 GB, free: 253.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/10.37, allocations: 0 / 4.943 GB, free: 253.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/10.37, allocations: 0 / 4.943 GB, free: 253.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.075e-05/10.37, allocations: 146 kB / 4.943 GB, free: 253.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/10.37, allocations: 0 / 4.943 GB, free: 253.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/10.37, allocations: 22.59 kB / 4.943 GB, free: 253.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/10.37, allocations: 3.562 kB / 4.943 GB, free: 253.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.118e-06/10.37, allocations: 0 / 4.943 GB, free: 253.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/10.37, allocations: 14.28 kB / 4.943 GB, free: 253.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/10.37, allocations: 0 / 4.943 GB, free: 253.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001566/10.37, allocations: 128.8 kB / 4.943 GB, free: 253.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.184e-05/10.37, allocations: 84.73 kB / 4.943 GB, free: 253.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/10.37, allocations: 2.094 kB / 4.943 GB, free: 253.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.658e-05/10.37, allocations: 3.703 kB / 4.943 GB, free: 253.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.006e-05/10.37, allocations: 7.859 kB / 4.943 GB, free: 253.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.586e-06/10.37, allocations: 11.12 kB / 4.943 GB, free: 253.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.612e-05/10.37, allocations: 77.5 kB / 4.943 GB, free: 253.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/10.37, allocations: 0 / 4.943 GB, free: 253.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002701/10.37, allocations: 41.5 kB / 4.943 GB, free: 253.4 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0006682/10.37, allocations: 0.6582 MB / 4.944 GB, free: 253.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001021/10.37, allocations: 49.88 kB / 4.944 GB, free: 253.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/10.37, allocations: 4 kB / 4.944 GB, free: 253.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.681e-05/10.37, allocations: 24.53 kB / 4.944 GB, free: 253.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/10.37, allocations: 3.656 kB / 4.944 GB, free: 253.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004319/10.37, allocations: 285.8 kB / 4.944 GB, free: 253 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/10.37, allocations: 0.6886 MB / 4.945 GB, free: 252.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 7.08e-05/10.37, allocations: 11 kB / 4.945 GB, free: 252.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.122e-05/10.37, allocations: 13.94 kB / 4.945 GB, free: 252.3 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/10.37, allocations: 0 / 4.945 GB, free: 252.3 MB / 0.698 GB Notification: Performance of Templates: time 0.006227/10.38, allocations: 3.896 MB / 4.949 GB, free: 251.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)