Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8944/0.8944, allocations: 177.1 MB / 203.4 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001711/0.001711, allocations: 233.5 kB / 260.2 MB, free: 12.83 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7905/0.7905, allocations: 138.4 MB / 455.2 MB, free: 1.504 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") translateModel(BuildingSystems.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.5551 GB, free: 0.543 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.358e-05/2.528e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001845/0.00187, allocations: 1.379 MB / 0.5564 GB, free: 15.14 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3478/0.3497, allocations: 144 MB / 0.697 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.3497, allocations: 0 / 0.697 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 6.239e-05/0.3498, allocations: 7.922 kB / 0.697 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.3499, allocations: 11.92 kB / 0.697 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.3508, allocations: 342.3 kB / 0.6973 GB, free: 11.21 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.318e-05/0.3509, allocations: 63.77 kB / 0.6974 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.3509, allocations: 4 kB / 0.6974 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.285e-05/0.351, allocations: 43.81 kB / 0.6974 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 9.485e-05/0.3511, allocations: 31.95 kB / 0.6975 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.3511, allocations: 0 / 0.6975 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005881/0.3517, allocations: 378.5 kB / 0.6978 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.3518, allocations: 19.97 kB / 0.6979 GB, free: 10.68 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.3518, allocations: 27.84 kB / 0.6979 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002882/0.3521, allocations: 167.5 kB / 0.698 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.3521, allocations: 4 kB / 0.698 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.963e-06/0.3521, allocations: 0 / 0.698 GB, free: 10.48 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.3521, allocations: 0 / 0.698 GB, free: 10.48 MB / 0.5105 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.0004387/0.3525, allocations: 418.7 kB / 0.6984 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.3526, allocations: 12.75 kB / 0.6985 GB, free: 10.03 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003392/0.3529, allocations: 56.61 kB / 0.6985 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.153e-05/0.353, allocations: 116.6 kB / 0.6986 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.353, allocations: 4.375 kB / 0.6986 GB, free: 9.828 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.612e-05/0.353, allocations: 12.56 kB / 0.6986 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.3532, allocations: 198.1 kB / 0.6988 GB, free: 9.586 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3532, allocations: 3.938 kB / 0.6988 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.3532, allocations: 4 kB / 0.6988 GB, free: 9.578 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.3532, allocations: 3.938 kB / 0.6988 GB, free: 9.574 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.364e-05/0.3533, allocations: 31.95 kB / 0.6989 GB, free: 9.543 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001318/0.3534, allocations: 144.5 kB / 0.699 GB, free: 9.367 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.3535, allocations: 80.28 kB / 0.6991 GB, free: 9.277 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.123e-05/0.3536, allocations: 31.61 kB / 0.6991 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.3537, allocations: 23.98 kB / 0.6991 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.3537, allocations: 37.39 kB / 0.6992 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.052e-06/0.3537, allocations: 0 / 0.6992 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.0008424/0.3546, allocations: 451.3 kB / 0.6996 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/0.3546, allocations: 55.41 kB / 0.6997 GB, free: 8.629 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.331e-05/0.3546, allocations: 153.9 kB / 0.6998 GB, free: 8.461 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.3547, allocations: 33.7 kB / 0.6998 GB, free: 8.422 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.472e-05/0.3547, allocations: 127.2 kB / 0.7 GB, free: 8.293 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3547, allocations: 71.38 kB / 0.7 GB, free: 8.223 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.3547, allocations: 47.38 kB / 0.7001 GB, free: 8.168 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.5e-05/0.3548, allocations: 0.4924 MB / 0.7006 GB, free: 7.664 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.474e-05/0.3548, allocations: 19.98 kB / 0.7006 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.143e-05/0.3549, allocations: 77.14 kB / 0.7006 GB, free: 7.555 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.989e-05/0.355, allocations: 102.6 kB / 0.7007 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.355, allocations: 0 / 0.7007 GB, free: 7.438 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001454/0.3551, allocations: 146.2 kB / 0.7009 GB, free: 7.289 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.3551, allocations: 4 kB / 0.7009 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3551, allocations: 0 / 0.7009 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.3552, allocations: 7.438 kB / 0.7009 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.3553, allocations: 43.92 kB / 0.7009 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.3553, allocations: 0 / 0.7009 GB, free: 7.238 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.201e-05/0.3553, allocations: 12 kB / 0.7009 GB, free: 7.227 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/0.3553, allocations: 7.938 kB / 0.701 GB, free: 7.219 MB / 0.5105 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 5.29e-05/0.3554, allocations: 176.4 kB / 0.7011 GB, free: 7.035 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.652e-05/0.3554, allocations: 11.95 kB / 0.7011 GB, free: 7.023 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.079e-05/0.3554, allocations: 16.47 kB / 0.7011 GB, free: 7.012 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3554, allocations: 4 kB / 0.7012 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.3554, allocations: 0 / 0.7012 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3554, allocations: 0 / 0.7012 GB, free: 7.008 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.246e-05/0.3555, allocations: 140.5 kB / 0.7013 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3555, allocations: 0 / 0.7013 GB, free: 6.836 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.3556, allocations: 43.92 kB / 0.7013 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.3556, allocations: 0 / 0.7013 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3556, allocations: 8 kB / 0.7013 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.3556, allocations: 0 / 0.7013 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3556, allocations: 0 / 0.7013 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.3558, allocations: 194 kB / 0.7015 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.889e-05/0.3558, allocations: 15.94 kB / 0.7015 GB, free: 6.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.249e-05/0.3558, allocations: 4 kB / 0.7015 GB, free: 6.559 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.875e-05/0.3559, allocations: 8 kB / 0.7015 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.89e-05/0.3559, allocations: 11.97 kB / 0.7016 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.154e-06/0.3559, allocations: 8 kB / 0.7016 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.98e-05/0.3559, allocations: 123.2 kB / 0.7017 GB, free: 6.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6e-08/0.3559, allocations: 4 kB / 0.7017 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001524/0.3561, allocations: 28 kB / 0.7017 GB, free: 6.379 MB / 0.5105 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.0001004/0.3562, allocations: 99.25 kB / 0.7018 GB, free: 6.273 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001302/0.3563, allocations: 95.98 kB / 0.7019 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3563, allocations: 3.938 kB / 0.7019 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.815e-05/0.3564, allocations: 59.69 kB / 0.702 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.3566, allocations: 33.23 kB / 0.702 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000694/0.3573, allocations: 406.8 kB / 0.7024 GB, free: 5.664 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.108e-05/0.3573, allocations: 70.16 kB / 0.7024 GB, free: 5.578 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.997e-05/0.3574, allocations: 24.62 kB / 0.7025 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.43e-05/0.3574, allocations: 16.5 kB / 0.7025 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of SimCode: time 7.61e-07/0.3574, allocations: 0 / 0.7025 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of Templates: time 0.003026/0.3604, allocations: 1.439 MB / 0.7039 GB, free: 4.168 MB / 0.5105 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.sim & ./BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.161687383893877]