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.0005901/0.0005901, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007069/0.0007069, allocations: 174.3 kB / 23.21 MB, free: 1.348 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.8692/0.8692, allocations: 177.1 MB / 203.5 MB, free: 5.719 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.001565/0.001565, allocations: 233.4 kB / 260.2 MB, free: 13.05 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.6471/0.6471, allocations: 138.4 MB / 455.1 MB, free: 29.91 MB / 410.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.763e-06/1.763e-06, allocations: 0 / 0.6475 GB, free: 1.367 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.306e-05/2.483e-05, allocations: 2.281 kB / 0.6475 GB, free: 1.363 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.001647/0.001671, allocations: 1.329 MB / 0.6488 GB, free: 20 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.3489/0.3505, allocations: 130.1 MB / 0.7758 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.406e-05/0.3506, allocations: 0 / 0.7758 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.134e-05/0.3506, allocations: 7.922 kB / 0.7758 GB, free: 7.344 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.812e-05/0.3507, allocations: 15.86 kB / 0.7758 GB, free: 7.328 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007683/0.3515, allocations: 338.3 kB / 0.7762 GB, free: 6.996 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.3516, allocations: 63.77 kB / 0.7762 GB, free: 6.934 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.594e-05/0.3516, allocations: 0 / 0.7762 GB, free: 6.934 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.308e-05/0.3517, allocations: 43.94 kB / 0.7763 GB, free: 6.891 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.528e-05/0.3517, allocations: 31.89 kB / 0.7763 GB, free: 6.859 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.3518, allocations: 4 kB / 0.7763 GB, free: 6.855 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005013/0.3523, allocations: 370.6 kB / 0.7766 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.371e-05/0.3523, allocations: 19.91 kB / 0.7767 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.266e-05/0.3523, allocations: 23.97 kB / 0.7767 GB, free: 6.449 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3526, allocations: 175.4 kB / 0.7769 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3526, allocations: 0 / 0.7769 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3526, allocations: 0 / 0.7769 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.89e-06/0.3526, allocations: 0 / 0.7769 GB, free: 6.277 MB / 0.6042 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.0003699/0.353, allocations: 323.1 kB / 0.7772 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.353, allocations: 9.938 kB / 0.7772 GB, free: 5.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002579/0.3532, allocations: 38.27 kB / 0.7772 GB, free: 5.895 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.19e-05/0.3533, allocations: 101.8 kB / 0.7773 GB, free: 5.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.3533, allocations: 12.36 kB / 0.7773 GB, free: 5.758 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.3534, allocations: 16.83 kB / 0.7773 GB, free: 5.742 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.3536, allocations: 210 kB / 0.7775 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.3536, allocations: 0 / 0.7775 GB, free: 5.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3536, allocations: 4 kB / 0.7775 GB, free: 5.496 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3536, allocations: 4 kB / 0.7775 GB, free: 5.492 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.902e-05/0.3536, allocations: 44.77 kB / 0.7776 GB, free: 5.449 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.3538, allocations: 125.2 kB / 0.7777 GB, free: 5.297 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.3539, allocations: 90.67 kB / 0.7778 GB, free: 5.199 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.463e-05/0.354, allocations: 28.84 kB / 0.7778 GB, free: 5.168 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.3541, allocations: 23.98 kB / 0.7778 GB, free: 5.145 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.3541, allocations: 38.5 kB / 0.7779 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 8.72e-07/0.3541, allocations: 0 / 0.7779 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.0008662/0.355, allocations: 484 kB / 0.7783 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.016e-05/0.355, allocations: 51.41 kB / 0.7784 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.622e-05/0.3551, allocations: 97.86 kB / 0.7785 GB, free: 4.422 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.3551, allocations: 25.7 kB / 0.7785 GB, free: 4.391 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.119e-05/0.3551, allocations: 88.52 kB / 0.7786 GB, free: 4.301 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.3551, allocations: 79.44 kB / 0.7787 GB, free: 4.223 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.3552, allocations: 33.72 kB / 0.7787 GB, free: 4.184 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.3553, allocations: 328.5 kB / 0.779 GB, free: 3.855 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.179e-05/0.3553, allocations: 32.59 kB / 0.779 GB, free: 3.824 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.303e-05/0.3554, allocations: 77.62 kB / 0.7791 GB, free: 3.738 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.3555, allocations: 118.2 kB / 0.7792 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.3555, allocations: 0 / 0.7792 GB, free: 3.613 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001471/0.3556, allocations: 155 kB / 0.7794 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3556, allocations: 4 kB / 0.7794 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3556, allocations: 4 kB / 0.7794 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3557, allocations: 4 kB / 0.7794 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3558, allocations: 41.73 kB / 0.7794 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.3558, allocations: 0 / 0.7794 GB, free: 3.406 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.837e-05/0.3558, allocations: 8 kB / 0.7794 GB, free: 3.398 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.3558, allocations: 7.516 kB / 0.7794 GB, free: 3.395 MB / 0.6042 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 7.299e-05/0.3559, allocations: 130.3 kB / 0.7796 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.3559, allocations: 11.95 kB / 0.7796 GB, free: 3.246 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.59e-05/0.3559, allocations: 20.45 kB / 0.7796 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.3559, allocations: 0 / 0.7796 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.3559, allocations: 0 / 0.7796 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.3559, allocations: 6.156 kB / 0.7796 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.017e-05/0.356, allocations: 137.2 kB / 0.7797 GB, free: 3.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.356, allocations: 3.938 kB / 0.7797 GB, free: 3.051 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001081/0.3561, allocations: 35.98 kB / 0.7798 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3561, allocations: 0 / 0.7798 GB, free: 3.016 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.3562, allocations: 4 kB / 0.7798 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3562, allocations: 3.125 kB / 0.7798 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3562, allocations: 7.938 kB / 0.7798 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002274/0.3564, allocations: 213.4 kB / 0.78 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.199e-05/0.3564, allocations: 15.94 kB / 0.78 GB, free: 2.766 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.32e-05/0.3564, allocations: 8.062 kB / 0.78 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.3565, allocations: 12 kB / 0.78 GB, free: 2.746 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.083e-05/0.3565, allocations: 11.97 kB / 0.78 GB, free: 2.734 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.3565, allocations: 4 kB / 0.78 GB, free: 2.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.642e-05/0.3566, allocations: 79.28 kB / 0.7801 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3566, allocations: 4 kB / 0.7801 GB, free: 2.648 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001425/0.3567, allocations: 24 kB / 0.7801 GB, free: 2.625 MB / 0.6042 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.0001166/0.3568, allocations: 107.2 kB / 0.7802 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001456/0.357, allocations: 104 kB / 0.7803 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.357, allocations: 0 / 0.7803 GB, free: 2.41 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.453e-05/0.357, allocations: 51.91 kB / 0.7804 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.3572, allocations: 13.22 kB / 0.7804 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000551/0.3578, allocations: 436.4 kB / 0.7808 GB, free: 1.902 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.504e-05/0.3578, allocations: 84.05 kB / 0.7809 GB, free: 1.801 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.132e-05/0.3579, allocations: 20.48 kB / 0.7809 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of SimCode: time 4.71e-07/0.3579, allocations: 0 / 0.7809 GB, free: 1.785 MB / 0.6042 GB Notification: Performance of Templates: time 0.002345/0.3602, allocations: 1.349 MB / 0.7822 GB, free: 456 kB / 0.6042 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.3545448910444975] Failed to read output from testmodel.py, exit status != 0: 0.3656078316271305 0.373348685 0.019113633 Calling exit ...