Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.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.001584/0.001584, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.0017/0.0017, allocations: 212 kB / 23 MB, free: 4.969 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.436/1.436, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.171/3.171, allocations: 0.49 GB / 0.7959 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirDerivativeCheck") translateModel(Buildings.Media.Examples.AirDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.hSteSym.|der.hSteCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirDerivativeCheck") [Timeout 300] "Notification: Buildings 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.002041/0.002041, allocations: 69.83 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3028, allocations: 176.1 MB / 1.327 GB, free: 1.008 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.002411/0.3052, allocations: 1.324 MB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1865/0.4918, allocations: 130 MB / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.4918, allocations: 0 / 1.455 GB, free: 13.13 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.616e-05/0.4919, allocations: 7.922 kB / 1.455 GB, free: 13.12 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.676e-05/0.492, allocations: 15.91 kB / 1.455 GB, free: 13.11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009962/0.4929, allocations: 326.7 kB / 1.456 GB, free: 12.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.493, allocations: 63.77 kB / 1.456 GB, free: 12.72 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.635e-05/0.4931, allocations: 7.984 kB / 1.456 GB, free: 12.71 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.797e-05/0.4931, allocations: 31.91 kB / 1.456 GB, free: 12.68 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.4932, allocations: 31.89 kB / 1.456 GB, free: 12.65 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.464e-05/0.4932, allocations: 8 kB / 1.456 GB, free: 12.64 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.494, allocations: 374.7 kB / 1.456 GB, free: 12.28 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.68e-05/0.4941, allocations: 19.92 kB / 1.456 GB, free: 12.26 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.4941, allocations: 31.91 kB / 1.456 GB, free: 12.23 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003496/0.4945, allocations: 155.5 kB / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.4945, allocations: 0 / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.252e-06/0.4945, allocations: 0 / 1.456 GB, free: 12.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.4945, allocations: 0 / 1.456 GB, free: 12.07 MB / 1.154 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.0004616/0.4949, allocations: 314 kB / 1.457 GB, free: 11.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.495, allocations: 16.02 kB / 1.457 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00042/0.4954, allocations: 36.86 kB / 1.457 GB, free: 11.69 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.784e-05/0.4955, allocations: 106.5 kB / 1.457 GB, free: 11.56 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.4955, allocations: 3.938 kB / 1.457 GB, free: 11.55 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.608e-05/0.4956, allocations: 12 kB / 1.457 GB, free: 11.54 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.4958, allocations: 210.1 kB / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.4958, allocations: 0 / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4958, allocations: 4 kB / 1.457 GB, free: 11.3 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.4958, allocations: 7.938 kB / 1.457 GB, free: 11.29 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.4959, allocations: 47.94 kB / 1.457 GB, free: 11.24 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.4961, allocations: 129.2 kB / 1.457 GB, free: 11.09 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.4963, allocations: 94.56 kB / 1.457 GB, free: 10.98 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.111e-05/0.4964, allocations: 24.84 kB / 1.457 GB, free: 10.96 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.4966, allocations: 27.98 kB / 1.457 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.4966, allocations: 34.56 kB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.4966, allocations: 0 / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001416/0.498, allocations: 482.8 kB / 1.458 GB, free: 10.38 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.4981, allocations: 55.41 kB / 1.458 GB, free: 10.32 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.191e-05/0.4981, allocations: 93.86 kB / 1.458 GB, free: 10.21 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.4982, allocations: 33.7 kB / 1.458 GB, free: 10.18 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.4982, allocations: 80.52 kB / 1.458 GB, free: 10.09 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 7.596e-05/0.4983, allocations: 83.44 kB / 1.458 GB, free: 10.01 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.077e-05/0.4983, allocations: 33.72 kB / 1.458 GB, free: 9.973 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.4985, allocations: 326.8 kB / 1.459 GB, free: 9.645 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.942e-05/0.4986, allocations: 35.97 kB / 1.459 GB, free: 9.609 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.4987, allocations: 73.83 kB / 1.459 GB, free: 9.527 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.4989, allocations: 119.4 kB / 1.459 GB, free: 9.398 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.4989, allocations: 0 / 1.459 GB, free: 9.398 MB / 1.154 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002527/0.4992, allocations: 157.5 kB / 1.459 GB, free: 9.238 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.4992, allocations: 8 kB / 1.459 GB, free: 9.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.4992, allocations: 0 / 1.459 GB, free: 9.23 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.4992, allocations: 0 / 1.459 GB, free: 9.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.4994, allocations: 47.86 kB / 1.459 GB, free: 9.184 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.4994, allocations: 4 kB / 1.459 GB, free: 9.18 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.75e-05/0.4994, allocations: 7.938 kB / 1.459 GB, free: 9.172 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4994, allocations: 8 kB / 1.459 GB, free: 9.164 MB / 1.154 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.0001091/0.4996, allocations: 126.2 kB / 1.459 GB, free: 9.031 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4996, allocations: 7.953 kB / 1.459 GB, free: 9.023 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.41e-05/0.4996, allocations: 20.45 kB / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4996, allocations: 0 / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.4996, allocations: 0 / 1.459 GB, free: 9 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.4997, allocations: 19.94 kB / 1.459 GB, free: 8.98 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.4997, allocations: 7.938 kB / 1.459 GB, free: 8.973 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.4998, allocations: 8 kB / 1.459 GB, free: 8.965 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.557e-05/0.4999, allocations: 11.97 kB / 1.459 GB, free: 8.953 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003967/0.5003, allocations: 224.9 kB / 1.459 GB, free: 8.727 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004613/0.5007, allocations: 371.8 kB / 1.46 GB, free: 8.348 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.268e-05/0.5008, allocations: 57.28 kB / 1.46 GB, free: 8.293 MB / 1.154 GB Notification: Performance of sorting global known variables: time 3.822e-05/0.5009, allocations: 79.28 kB / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of Backend: time 2.9e-07/0.5009, allocations: 0 / 1.46 GB, free: 8.215 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0006161/0.5015, allocations: 222.2 kB / 1.46 GB, free: 7.988 MB / 1.154 GB Notification: Performance of SimCode: time 0.0009986/0.5025, allocations: 0.9244 MB / 1.461 GB, free: 7.016 MB / 1.154 GB Notification: Performance of Templates: time 0.006018/0.5085, allocations: 2.581 MB / 1.464 GB, free: 4.449 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.sim & ./Buildings_12_Buildings.Media.Examples.AirDerivativeCheck -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 400] [Calling os._exit(0), Time elapsed: 8.661552035999193] Failed to read output from testmodel.py, exit status != 0: 0.5160645500000101 0.531344939 0.033700607 Calling exit ...