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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008309/0.000831, allocations: 97.33 kB / 15.36 MB, free: 0.7344 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.005078/0.005078, allocations: 169.8 kB / 16.27 MB, free: 6.652 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.326/1.326, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001755/0.001755, allocations: 267.2 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004307/0.0004307, allocations: 13.86 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1607, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001294/0.162, allocations: 1 MB / 0.6861 GB, free: 14.08 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.466/0.628, allocations: 143.1 MB / 0.8259 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.6281, allocations: 3.938 kB / 0.8259 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.001e-05/0.6281, allocations: 6.469 kB / 0.8259 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.322e-05/0.6282, allocations: 1.031 kB / 0.8259 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003446/0.6285, allocations: 85.53 kB / 0.826 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.02e-05/0.6286, allocations: 28.7 kB / 0.826 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.6286, allocations: 4.578 kB / 0.826 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.789e-05/0.6287, allocations: 11.16 kB / 0.826 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.94e-05/0.6287, allocations: 24.19 kB / 0.826 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.235e-05/0.6287, allocations: 2.125 kB / 0.8261 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002461/0.629, allocations: 72.16 kB / 0.8261 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.629, allocations: 9.609 kB / 0.8261 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.888e-05/0.6291, allocations: 41.8 kB / 0.8262 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001434/0.6292, allocations: 67.2 kB / 0.8262 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.6292, allocations: 0 / 0.8262 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6293, allocations: 0 / 0.8262 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.6293, allocations: 1.094 kB / 0.8262 GB, free: 15.74 MB / 0.5606 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.0003309/0.6296, allocations: 340.2 kB / 0.8266 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.6296, allocations: 9.688 kB / 0.8266 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.6298, allocations: 20.7 kB / 0.8266 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.63, allocations: 166.5 kB / 0.8267 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.63, allocations: 8.969 kB / 0.8268 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.77e-05/0.63, allocations: 7.062 kB / 0.8268 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001296/0.6301, allocations: 52.36 kB / 0.8268 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.6302, allocations: 1.406 kB / 0.8268 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.6302, allocations: 4 kB / 0.8268 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.6302, allocations: 5.156 kB / 0.8268 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.6302, allocations: 16.14 kB / 0.8268 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001544/0.6304, allocations: 164.9 kB / 0.827 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.928e-05/0.6305, allocations: 55 kB / 0.827 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.197e-05/0.6305, allocations: 23.38 kB / 0.8271 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.186e-06/0.6306, allocations: 1 kB / 0.8271 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.6306, allocations: 35.72 kB / 0.8271 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.6306, allocations: 1.125 kB / 0.8271 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006638/0.6313, allocations: 371.7 kB / 0.8275 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.956e-05/0.6313, allocations: 52.44 kB / 0.8275 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.962e-05/0.6314, allocations: 99.69 kB / 0.8276 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.6314, allocations: 26.83 kB / 0.8276 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.244e-05/0.6314, allocations: 88.2 kB / 0.8277 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.878e-05/0.6315, allocations: 42.94 kB / 0.8278 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.702e-05/0.6315, allocations: 17.16 kB / 0.8278 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.446e-05/0.6316, allocations: 319.9 kB / 0.8281 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.6316, allocations: 18.48 kB / 0.8281 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.762e-05/0.6317, allocations: 35.11 kB / 0.8281 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.913e-05/0.6318, allocations: 58.58 kB / 0.8282 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.6318, allocations: 4 kB / 0.8282 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000125/0.6319, allocations: 94.11 kB / 0.8283 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.6319, allocations: 5.312 kB / 0.8283 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6319, allocations: 1.156 kB / 0.8283 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.632, allocations: 1.031 kB / 0.8283 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6321, allocations: 26.17 kB / 0.8283 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.6321, allocations: 0.9688 kB / 0.8283 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.6321, allocations: 1.125 kB / 0.8283 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.323e-06/0.6321, allocations: 7.031 kB / 0.8283 GB, free: 13.8 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.6322, allocations: 121.9 kB / 0.8284 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.459e-05/0.6322, allocations: 6.094 kB / 0.8284 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.696e-05/0.6323, allocations: 12.8 kB / 0.8285 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.6323, allocations: 2.875 kB / 0.8285 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6323, allocations: 0 / 0.8285 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.6323, allocations: 1.25 kB / 0.8285 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.6324, allocations: 177 kB / 0.8286 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.6324, allocations: 1.125 kB / 0.8286 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001193/0.6325, allocations: 26.7 kB / 0.8287 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6326, allocations: 0 / 0.8287 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.6326, allocations: 5.531 kB / 0.8287 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.6326, allocations: 0 / 0.8287 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6326, allocations: 0 / 0.8287 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.6328, allocations: 138.9 kB / 0.8288 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.6329, allocations: 88.08 kB / 0.8289 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.468e-05/0.6329, allocations: 2.75 kB / 0.8289 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.511e-05/0.633, allocations: 8.922 kB / 0.8289 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.633, allocations: 4.094 kB / 0.8289 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.594e-06/0.633, allocations: 6.688 kB / 0.8289 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.962e-05/0.633, allocations: 80.06 kB / 0.829 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.655e-06/0.633, allocations: 0 / 0.829 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001966/0.6332, allocations: 15.81 kB / 0.829 GB, free: 13.19 MB / 0.5606 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.48e-05/0.6333, allocations: 108.1 kB / 0.8291 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.6335, allocations: 63.5 kB / 0.8292 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6335, allocations: 0 / 0.8292 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-05/0.6335, allocations: 29.61 kB / 0.8292 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.6337, allocations: 8.688 kB / 0.8292 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005523/0.6343, allocations: 386.8 kB / 0.8296 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.6345, allocations: 0.6841 MB / 0.8302 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.776e-05/0.6346, allocations: 11.78 kB / 0.8302 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.804e-05/0.6346, allocations: 12.75 kB / 0.8302 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.6346, allocations: 0 / 0.8302 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of Templates: time 0.002641/0.6373, allocations: 0.609 MB / 0.8308 GB, free: 11.74 MB / 0.5606 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)