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.0009829/0.0009829, 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.0009408/0.0009408, allocations: 173 kB / 23.03 MB, free: 1.543 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 1.051/1.051, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002048/0.002048, allocations: 237.9 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.7004/0.7004, allocations: 138.4 MB / 455.2 MB, free: 1.539 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.583e-06/1.583e-06, allocations: 0 / 0.5551 GB, free: 0.5742 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.557e-05/2.715e-05, allocations: 6.312 kB / 0.5551 GB, free: 0.5664 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002553/0.00258, allocations: 1.379 MB / 0.5564 GB, free: 15.17 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3637/0.3663, allocations: 143.9 MB / 0.697 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.3663, allocations: 0 / 0.697 GB, free: 11.46 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 5.714e-05/0.3664, allocations: 7.922 kB / 0.697 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.3665, allocations: 11.92 kB / 0.697 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.3673, allocations: 342.3 kB / 0.6973 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 9.858e-05/0.3674, allocations: 63.77 kB / 0.6974 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.3675, allocations: 0 / 0.6974 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 5.085e-05/0.3675, allocations: 47.88 kB / 0.6975 GB, free: 10.99 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 8.711e-05/0.3676, allocations: 27.95 kB / 0.6975 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.3676, allocations: 7.938 kB / 0.6975 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005003/0.3681, allocations: 378.5 kB / 0.6978 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.3682, allocations: 15.97 kB / 0.6979 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.36e-05/0.3682, allocations: 27.91 kB / 0.6979 GB, free: 10.54 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.3684, allocations: 167.5 kB / 0.698 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3684, allocations: 0 / 0.698 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3684, allocations: 3.938 kB / 0.6981 GB, free: 10.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3685, allocations: 0 / 0.6981 GB, free: 10.38 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.0003395/0.3688, allocations: 418.7 kB / 0.6985 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3688, allocations: 12.75 kB / 0.6985 GB, free: 9.922 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003041/0.3691, allocations: 60.61 kB / 0.6985 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.555e-05/0.3692, allocations: 112.6 kB / 0.6986 GB, free: 9.727 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3692, allocations: 4.375 kB / 0.6986 GB, free: 9.723 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.3692, allocations: 12.56 kB / 0.6986 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/0.3694, allocations: 198.1 kB / 0.6988 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.405e-06/0.3694, allocations: 3.984 kB / 0.6988 GB, free: 9.477 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3694, allocations: 4 kB / 0.6988 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.3694, allocations: 7.875 kB / 0.6988 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.872e-05/0.3694, allocations: 39.95 kB / 0.6989 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000115/0.3696, allocations: 144.5 kB / 0.699 GB, free: 9.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001203/0.3697, allocations: 75.19 kB / 0.6991 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.911e-05/0.3697, allocations: 27.67 kB / 0.6991 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/0.3698, allocations: 23.92 kB / 0.6991 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.3699, allocations: 41.39 kB / 0.6992 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=12): time 1.163e-06/0.3699, allocations: 0 / 0.6992 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of matching and sorting (n=19): time 0.0007693/0.3706, allocations: 454.3 kB / 0.6996 GB, free: 8.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3706, allocations: 51.41 kB / 0.6997 GB, free: 8.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.489e-05/0.3707, allocations: 157.9 kB / 0.6998 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.021e-05/0.3707, allocations: 29.7 kB / 0.6998 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 1.961e-05/0.3707, allocations: 131.2 kB / 0.7 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.3708, allocations: 75.36 kB / 0.7 GB, free: 8.105 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.3708, allocations: 43.5 kB / 0.7001 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.3709, allocations: 0.4923 MB / 0.7006 GB, free: 7.551 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.134e-05/0.3709, allocations: 23.98 kB / 0.7006 GB, free: 7.527 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.27e-05/0.3709, allocations: 69.16 kB / 0.7007 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.094e-05/0.371, allocations: 102.6 kB / 0.7008 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.371, allocations: 4 kB / 0.7008 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001402/0.3712, allocations: 138.3 kB / 0.7009 GB, free: 7.184 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3712, allocations: 8 kB / 0.7009 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.3712, allocations: 0 / 0.7009 GB, free: 7.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.3712, allocations: 7.438 kB / 0.7009 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3713, allocations: 35.92 kB / 0.7009 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.415e-06/0.3713, allocations: 9.016 kB / 0.7009 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.859e-05/0.3714, allocations: 4 kB / 0.7009 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.3714, allocations: 12 kB / 0.701 GB, free: 7.113 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 6.54e-05/0.3714, allocations: 176.4 kB / 0.7011 GB, free: 6.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/0.3715, allocations: 15.95 kB / 0.7011 GB, free: 6.914 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3715, allocations: 16.47 kB / 0.7012 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.3715, allocations: 4 kB / 0.7012 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3715, allocations: 0 / 0.7012 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.3715, allocations: 0 / 0.7012 GB, free: 6.898 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.774e-05/0.3716, allocations: 136.5 kB / 0.7013 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3716, allocations: 4 kB / 0.7013 GB, free: 6.727 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.3717, allocations: 43.92 kB / 0.7013 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3717, allocations: 0 / 0.7013 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.3717, allocations: 0 / 0.7013 GB, free: 6.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.3717, allocations: 4 kB / 0.7013 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3717, allocations: 0 / 0.7013 GB, free: 6.68 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3719, allocations: 190.1 kB / 0.7015 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.3719, allocations: 11.94 kB / 0.7015 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.3719, allocations: 11.94 kB / 0.7015 GB, free: 6.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.599e-05/0.372, allocations: 4 kB / 0.7016 GB, free: 6.445 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.427e-05/0.372, allocations: 19.97 kB / 0.7016 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.372, allocations: 4 kB / 0.7016 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 1.701e-05/0.372, allocations: 119.2 kB / 0.7017 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5e-08/0.372, allocations: 0 / 0.7017 GB, free: 6.305 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001527/0.3722, allocations: 32 kB / 0.7017 GB, free: 6.273 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.0001101/0.3723, allocations: 104.3 kB / 0.7018 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3724, allocations: 90.72 kB / 0.7019 GB, free: 6.074 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3724, allocations: 8.094 kB / 0.7019 GB, free: 6.066 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.076e-05/0.3725, allocations: 56.22 kB / 0.702 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.3727, allocations: 40.12 kB / 0.702 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.3733, allocations: 398.9 kB / 0.7024 GB, free: 5.562 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.719e-05/0.3733, allocations: 70.16 kB / 0.7025 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 6.604e-05/0.3734, allocations: 28.62 kB / 0.7025 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.039e-05/0.3734, allocations: 16.5 kB / 0.7025 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.3734, allocations: 0 / 0.7025 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of Templates: time 0.002827/0.3762, allocations: 1.559 MB / 0.704 GB, free: 3.945 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.0093132560141385]