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.001342/0.001342, allocations: 78.73 kB / 19.01 MB, free: 2.859 MB / 14.72 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.00146/0.00146, allocations: 160.3 kB / 22.26 MB, free: 5.105 MB / 14.72 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.402/1.402, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 178] 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.002395/0.002395, allocations: 233 kB / 259.3 MB, free: 0.5859 MB / 238.1 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 1.076/1.076, allocations: 138.5 MB / 454.2 MB, free: 2.051 MB / 366.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003055/0.003055, allocations: 103.8 kB / 0.6466 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4416, allocations: 95.35 MB / 0.7397 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002393/0.444, allocations: 1.331 MB / 0.741 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1713/0.6154, allocations: 130 MB / 0.868 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.6154, allocations: 0 / 0.868 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.885e-05/0.6155, allocations: 7.922 kB / 0.868 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/0.6156, allocations: 15.92 kB / 0.868 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.6168, allocations: 322.7 kB / 0.8683 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.6169, allocations: 67.7 kB / 0.8684 GB, free: 10.92 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 3.945e-05/0.6169, allocations: 4 kB / 0.8684 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.617, allocations: 43.94 kB / 0.8684 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.6171, allocations: 39.83 kB / 0.8685 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.6171, allocations: 0 / 0.8685 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008673/0.618, allocations: 366.8 kB / 0.8688 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.6181, allocations: 11.98 kB / 0.8688 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.6181, allocations: 27.91 kB / 0.8689 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.6185, allocations: 172.6 kB / 0.869 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6185, allocations: 0 / 0.869 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.373e-06/0.6185, allocations: 0 / 0.869 GB, free: 10.27 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.147e-05/0.6185, allocations: 0 / 0.869 GB, free: 10.27 MB / 0.7012 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.0004959/0.619, allocations: 314 kB / 0.8693 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6191, allocations: 9.344 kB / 0.8693 GB, free: 9.926 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.6195, allocations: 32.91 kB / 0.8694 GB, free: 9.895 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.6196, allocations: 102.5 kB / 0.8695 GB, free: 9.77 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.985e-05/0.6196, allocations: 15.88 kB / 0.8695 GB, free: 9.754 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.156e-05/0.6196, allocations: 19.95 kB / 0.8695 GB, free: 9.734 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.6199, allocations: 214.1 kB / 0.8697 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.6199, allocations: 0 / 0.8697 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.6199, allocations: 0 / 0.8697 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.6199, allocations: 0 / 0.8697 GB, free: 9.488 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.923e-05/0.62, allocations: 47.95 kB / 0.8697 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001995/0.6202, allocations: 125.2 kB / 0.8699 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/0.6204, allocations: 94.5 kB / 0.8699 GB, free: 9.188 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.713e-05/0.6205, allocations: 28.84 kB / 0.87 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001865/0.6207, allocations: 23.98 kB / 0.87 GB, free: 9.133 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.6207, allocations: 38.56 kB / 0.87 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.6207, allocations: 336 / 0.87 GB, free: 9.086 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001387/0.6221, allocations: 479.9 kB / 0.8705 GB, free: 8.586 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.6221, allocations: 63.34 kB / 0.8706 GB, free: 8.512 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.6222, allocations: 93.86 kB / 0.8706 GB, free: 8.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.6223, allocations: 37.64 kB / 0.8707 GB, free: 8.367 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.665e-05/0.6223, allocations: 80.52 kB / 0.8708 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 7.212e-05/0.6224, allocations: 79.3 kB / 0.8708 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.293e-05/0.6224, allocations: 37.7 kB / 0.8709 GB, free: 8.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6226, allocations: 322.8 kB / 0.8712 GB, free: 7.84 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.286e-05/0.6227, allocations: 39.97 kB / 0.8712 GB, free: 7.801 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.833e-05/0.6228, allocations: 68.22 kB / 0.8713 GB, free: 7.723 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001799/0.6229, allocations: 111.4 kB / 0.8714 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.6229, allocations: 4.125 kB / 0.8714 GB, free: 7.598 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002455/0.6232, allocations: 157.7 kB / 0.8715 GB, free: 7.438 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.6232, allocations: 8 kB / 0.8715 GB, free: 7.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.513e-06/0.6232, allocations: 4 kB / 0.8716 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6232, allocations: 0 / 0.8716 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.6234, allocations: 39.92 kB / 0.8716 GB, free: 7.387 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.678e-06/0.6234, allocations: 4 kB / 0.8716 GB, free: 7.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.6235, allocations: 4 kB / 0.8716 GB, free: 7.379 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.6235, allocations: 7.938 kB / 0.8716 GB, free: 7.371 MB / 0.7012 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 0.0001115/0.6236, allocations: 133.7 kB / 0.8717 GB, free: 7.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.6236, allocations: 11.95 kB / 0.8717 GB, free: 7.219 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.249e-05/0.6237, allocations: 16.47 kB / 0.8718 GB, free: 7.203 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.6237, allocations: 4 kB / 0.8718 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6237, allocations: 0 / 0.8718 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6237, allocations: 0 / 0.8718 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.6238, allocations: 133.2 kB / 0.8719 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.6238, allocations: 0 / 0.8719 GB, free: 7.039 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000217/0.6241, allocations: 35.98 kB / 0.8719 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.6241, allocations: 0 / 0.8719 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.6241, allocations: 4 kB / 0.8719 GB, free: 7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.6241, allocations: 4 kB / 0.8719 GB, free: 6.996 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6241, allocations: 7.938 kB / 0.8719 GB, free: 6.988 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.6244, allocations: 209.5 kB / 0.8721 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.6245, allocations: 20 kB / 0.8722 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.6245, allocations: 0 / 0.8722 GB, free: 6.746 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.6246, allocations: 8 kB / 0.8722 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.6247, allocations: 11.97 kB / 0.8722 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.6247, allocations: 8 kB / 0.8722 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.405e-05/0.6247, allocations: 83.22 kB / 0.8723 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.6247, allocations: 0 / 0.8723 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002365/0.625, allocations: 28.09 kB / 0.8723 GB, free: 6.609 MB / 0.7012 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.0001585/0.6251, allocations: 123 kB / 0.8724 GB, free: 6.477 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0002163/0.6254, allocations: 91.89 kB / 0.8725 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6254, allocations: 0 / 0.8725 GB, free: 6.387 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-05/0.6254, allocations: 47.92 kB / 0.8725 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.6257, allocations: 20.36 kB / 0.8726 GB, free: 6.32 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000884/0.6266, allocations: 0.5055 MB / 0.8731 GB, free: 5.789 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.412e-05/0.6267, allocations: 84.06 kB / 0.8731 GB, free: 5.688 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001048/0.6268, allocations: 24.62 kB / 0.8732 GB, free: 5.664 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.269e-05/0.6268, allocations: 16.5 kB / 0.8732 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of SimCode: time 3.61e-07/0.6268, allocations: 0 / 0.8732 GB, free: 5.648 MB / 0.7012 GB Notification: Performance of Templates: time 0.004253/0.6311, allocations: 1.089 MB / 0.8742 GB, free: 4.59 MB / 0.7012 GB " [Timeout remaining time 659] 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: 6.006106147542596] Failed to read output from testmodel.py, exit status != 0: 0.639606362208724 0.655315087 0.033603688 Calling exit ...