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.001238/0.001238, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001372/0.001372, allocations: 211.5 kB / 22.25 MB, free: 4.859 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.383/1.383, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.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.002465/0.002465, allocations: 280.2 kB / 312.7 MB, free: 2.609 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.205/1.205, allocations: 180.6 MB / 0.5369 GB, free: 14.47 MB / 382.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: "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [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.003573/0.003573, allocations: 99.48 kB / 0.7395 GB, free: 28.05 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1915, allocations: 95.39 MB / 0.8326 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002757/0.1943, allocations: 1.337 MB / 0.8339 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1692/0.3634, allocations: 130.1 MB / 0.9609 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.921e-05/0.3635, allocations: 0 / 0.9609 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 3.948e-05/0.3635, allocations: 0 / 0.9609 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/0.3636, allocations: 15.86 kB / 0.9609 GB, free: 4.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.3647, allocations: 322.7 kB / 0.9613 GB, free: 4.094 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001217/0.3648, allocations: 71.77 kB / 0.9613 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.3649, allocations: 7.984 kB / 0.9613 GB, free: 4.016 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.3649, allocations: 27.92 kB / 0.9614 GB, free: 3.988 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.365, allocations: 27.89 kB / 0.9614 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.365, allocations: 8 kB / 0.9614 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007591/0.3658, allocations: 379 kB / 0.9618 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.537e-05/0.3659, allocations: 19.91 kB / 0.9618 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 5.645e-05/0.3659, allocations: 19.94 kB / 0.9618 GB, free: 3.543 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003715/0.3663, allocations: 147.6 kB / 0.9619 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3663, allocations: 0 / 0.9619 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3663, allocations: 0 / 0.9619 GB, free: 3.398 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.3663, allocations: 4 kB / 0.9619 GB, free: 3.395 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.0005121/0.3668, allocations: 328.1 kB / 0.9622 GB, free: 3.047 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.3669, allocations: 9.344 kB / 0.9623 GB, free: 3.039 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.039e-05/0.3669, allocations: 42.69 kB / 0.9623 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.3673, allocations: 36.89 kB / 0.9623 GB, free: 2.953 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.3674, allocations: 110.3 kB / 0.9624 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.3674, allocations: 0 / 0.9624 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.3675, allocations: 15.95 kB / 0.9625 GB, free: 2.805 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002982/0.3678, allocations: 214.1 kB / 0.9627 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3678, allocations: 0 / 0.9627 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3678, allocations: 4 kB / 0.9627 GB, free: 2.555 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.3678, allocations: 8 kB / 0.9627 GB, free: 2.547 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.3679, allocations: 47.89 kB / 0.9627 GB, free: 2.5 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002049/0.3681, allocations: 156.6 kB / 0.9629 GB, free: 2.305 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001931/0.3683, allocations: 82.62 kB / 0.9629 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.3684, allocations: 32.84 kB / 0.963 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00017/0.3685, allocations: 15.98 kB / 0.963 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3686, allocations: 38.56 kB / 0.963 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.3686, allocations: 0 / 0.963 GB, free: 2.117 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.0013/0.3699, allocations: 485.7 kB / 0.9635 GB, free: 1.609 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3699, allocations: 55.41 kB / 0.9635 GB, free: 1.543 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.37, allocations: 105.7 kB / 0.9636 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.37, allocations: 29.7 kB / 0.9637 GB, free: 1.395 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 4.083e-05/0.3701, allocations: 80.64 kB / 0.9637 GB, free: 1.312 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.809e-05/0.3701, allocations: 75.38 kB / 0.9638 GB, free: 1.238 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-05/0.3702, allocations: 41.7 kB / 0.9639 GB, free: 1.191 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3704, allocations: 314.8 kB / 0.9642 GB, free: 0.875 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.124e-05/0.3704, allocations: 43.97 kB / 0.9642 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.682e-05/0.3705, allocations: 69.23 kB / 0.9643 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002201/0.3707, allocations: 107.4 kB / 0.9644 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3707, allocations: 0 / 0.9644 GB, free: 0.6367 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002372/0.371, allocations: 161.5 kB / 0.9645 GB, free: 484 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.371, allocations: 4 kB / 0.9645 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.371, allocations: 0 / 0.9645 GB, free: 480 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.371, allocations: 8 kB / 0.9645 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.3712, allocations: 39.92 kB / 0.9646 GB, free: 432 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.3712, allocations: 3.938 kB / 0.9646 GB, free: 428 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.874e-05/0.3713, allocations: 8.125 kB / 0.9646 GB, free: 420 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.3713, allocations: 12.09 kB / 0.9646 GB, free: 408 kB / 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.0001074/0.3714, allocations: 126.4 kB / 0.9647 GB, free: 272 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.3714, allocations: 7.953 kB / 0.9647 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.3715, allocations: 20.47 kB / 0.9647 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.3715, allocations: 0 / 0.9647 GB, free: 244 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.3715, allocations: 3.938 kB / 0.9647 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3715, allocations: 4 kB / 0.9648 GB, free: 236 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.3717, allocations: 160.7 kB / 0.9649 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3717, allocations: 0 / 0.9649 GB, free: 32 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002154/0.3719, allocations: 40.05 kB / 0.9649 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3719, allocations: 0 / 0.9649 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3719, allocations: 4 kB / 0.9649 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.3719, allocations: 3.938 kB / 0.9649 GB, free: 15.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3719, allocations: 7.922 kB / 0.965 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.3722, allocations: 211.6 kB / 0.9652 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.572e-05/0.3723, allocations: 15.94 kB / 0.9652 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.3723, allocations: 4.062 kB / 0.9652 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.3724, allocations: 12 kB / 0.9652 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.3725, allocations: 11.92 kB / 0.9652 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3725, allocations: 11.98 kB / 0.9652 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.113e-05/0.3725, allocations: 79.28 kB / 0.9653 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3725, allocations: 0 / 0.9653 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002548/0.3728, allocations: 24 kB / 0.9653 GB, free: 15.6 MB / 0.7169 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.0006649/0.3734, allocations: 0.7489 MB / 0.966 GB, free: 14.82 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.3737, allocations: 108 kB / 0.9661 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3737, allocations: 0 / 0.9661 GB, free: 14.71 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.776e-05/0.3737, allocations: 54.95 kB / 0.9662 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.374, allocations: 22.11 kB / 0.9662 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.3761, allocations: 1.823 MB / 0.968 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.121e-05/0.3762, allocations: 92.25 kB / 0.9681 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.000104/0.3763, allocations: 20.62 kB / 0.9681 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.3764, allocations: 27.36 kB / 0.9681 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of SimCode: time 2.8e-07/0.3764, allocations: 0 / 0.9681 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03168/0.408, allocations: 3.006 MB / 0.9711 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.03, allocations: 10.34 kB / 0.9711 GB, free: 9.707 MB / 0.7169 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.345356207806617] Failed to read output from testmodel.py, exit status != 0: 11.128440998028964 11.438907257 11.069918814 Calling exit ...