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.001684/0.001684, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002084/0.002084, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.43/1.43, allocations: 230.6 MB / 256 MB, free: 7.789 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.002479/0.002479, allocations: 286.1 kB / 312.7 MB, free: 2.707 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.208/1.208, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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.002934/0.002934, allocations: 109.7 kB / 0.7395 GB, free: 27.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1732, allocations: 95.38 MB / 0.8326 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.003519/0.1767, allocations: 1.335 MB / 0.8339 GB, free: 7.008 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1709/0.3476, allocations: 130.1 MB / 0.9609 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.839e-05/0.3477, allocations: 4 kB / 0.9609 GB, free: 4.449 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 4.285e-05/0.3477, allocations: 7.938 kB / 0.9609 GB, free: 4.441 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3478, allocations: 11.91 kB / 0.961 GB, free: 4.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.349, allocations: 318.6 kB / 0.9613 GB, free: 4.117 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.3491, allocations: 75.75 kB / 0.9613 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.3492, allocations: 4 kB / 0.9613 GB, free: 4.039 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 4.712e-05/0.3492, allocations: 27.92 kB / 0.9614 GB, free: 4.012 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.3493, allocations: 31.89 kB / 0.9614 GB, free: 3.98 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3493, allocations: 4 kB / 0.9614 GB, free: 3.977 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008415/0.3502, allocations: 375 kB / 0.9617 GB, free: 3.609 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 6.385e-05/0.3502, allocations: 15.97 kB / 0.9618 GB, free: 3.594 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.3503, allocations: 31.86 kB / 0.9618 GB, free: 3.562 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0003725/0.3507, allocations: 143.6 kB / 0.9619 GB, free: 3.422 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3507, allocations: 8 kB / 0.9619 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3507, allocations: 0 / 0.9619 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.3507, allocations: 0 / 0.9619 GB, free: 3.414 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.0005061/0.3512, allocations: 321.8 kB / 0.9622 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3512, allocations: 9.344 kB / 0.9623 GB, free: 3.062 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.3513, allocations: 38.75 kB / 0.9623 GB, free: 3.016 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004095/0.3517, allocations: 32.89 kB / 0.9623 GB, free: 2.984 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.3518, allocations: 114.3 kB / 0.9624 GB, free: 2.848 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.3518, allocations: 4 kB / 0.9624 GB, free: 2.844 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.503e-05/0.3518, allocations: 23.94 kB / 0.9625 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002564/0.3521, allocations: 210.1 kB / 0.9627 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.3521, allocations: 0 / 0.9627 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.3521, allocations: 0 / 0.9627 GB, free: 2.578 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3521, allocations: 4 kB / 0.9627 GB, free: 2.574 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.709e-05/0.3522, allocations: 43.95 kB / 0.9627 GB, free: 2.531 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002101/0.3524, allocations: 160.5 kB / 0.9629 GB, free: 2.332 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3526, allocations: 86.62 kB / 0.9629 GB, free: 2.238 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.459e-05/0.3527, allocations: 32.78 kB / 0.963 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001811/0.3529, allocations: 27.98 kB / 0.963 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3529, allocations: 30.56 kB / 0.963 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.3529, allocations: 0 / 0.963 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of matching and sorting (n=19): time 0.001278/0.3542, allocations: 483.1 kB / 0.9635 GB, free: 1.637 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/0.3542, allocations: 63.34 kB / 0.9635 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.054e-05/0.3543, allocations: 97.8 kB / 0.9636 GB, free: 1.457 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.3543, allocations: 29.7 kB / 0.9637 GB, free: 1.422 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 3.468e-05/0.3543, allocations: 80.52 kB / 0.9637 GB, free: 1.34 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-05/0.3544, allocations: 75.38 kB / 0.9638 GB, free: 1.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.668e-05/0.3545, allocations: 37.72 kB / 0.9639 GB, free: 1.223 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3546, allocations: 322.8 kB / 0.9642 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.754e-05/0.3547, allocations: 35.97 kB / 0.9642 GB, free: 0.8633 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.616e-05/0.3548, allocations: 71.41 kB / 0.9643 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.3549, allocations: 111.4 kB / 0.9644 GB, free: 0.6602 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.3549, allocations: 4.125 kB / 0.9644 GB, free: 0.6562 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002369/0.3552, allocations: 157.5 kB / 0.9645 GB, free: 0.4961 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.3552, allocations: 4 kB / 0.9645 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3552, allocations: 0 / 0.9645 GB, free: 0.4922 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.3552, allocations: 4 kB / 0.9645 GB, free: 500 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.3554, allocations: 44.05 kB / 0.9646 GB, free: 456 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.3554, allocations: 3.938 kB / 0.9646 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.3555, allocations: 8 kB / 0.9646 GB, free: 444 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.3555, allocations: 8 kB / 0.9646 GB, free: 436 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.000102/0.3556, allocations: 122.4 kB / 0.9647 GB, free: 304 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.3556, allocations: 11.95 kB / 0.9647 GB, free: 292 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.3556, allocations: 24.45 kB / 0.9647 GB, free: 268 kB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3556, allocations: 0 / 0.9647 GB, free: 268 kB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3556, allocations: 3.938 kB / 0.9647 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.3557, allocations: 0 / 0.9647 GB, free: 264 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001567/0.3558, allocations: 156.7 kB / 0.9649 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.3558, allocations: 4 kB / 0.9649 GB, free: 60 kB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.356, allocations: 39.91 kB / 0.9649 GB, free: 20 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.356, allocations: 0 / 0.9649 GB, free: 20 kB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.356, allocations: 8 kB / 0.9649 GB, free: 12 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.356, allocations: 0 / 0.9649 GB, free: 12 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.356, allocations: 7.938 kB / 0.965 GB, free: 4 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003278/0.3564, allocations: 204.9 kB / 0.9652 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.3564, allocations: 15.94 kB / 0.9652 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.145e-05/0.3564, allocations: 8.047 kB / 0.9652 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.3566, allocations: 4 kB / 0.9652 GB, free: 15.76 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.817e-05/0.3566, allocations: 15.92 kB / 0.9652 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.3566, allocations: 15.92 kB / 0.9652 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.131e-05/0.3566, allocations: 75.28 kB / 0.9653 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.3566, allocations: 0 / 0.9653 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002308/0.3569, allocations: 32.09 kB / 0.9653 GB, free: 15.62 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.000628/0.3575, allocations: 0.7555 MB / 0.966 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002033/0.3577, allocations: 99.78 kB / 0.9661 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3577, allocations: 0 / 0.9661 GB, free: 14.74 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.508e-05/0.3578, allocations: 47.92 kB / 0.9662 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.358, allocations: 24.69 kB / 0.9662 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.36, allocations: 1.825 MB / 0.968 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.606e-05/0.3601, allocations: 92.23 kB / 0.9681 GB, free: 12.64 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001032/0.3602, allocations: 20.64 kB / 0.9681 GB, free: 12.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.3603, allocations: 27.42 kB / 0.9681 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.3603, allocations: 0 / 0.9681 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.392, allocations: 2.999 MB / 0.9711 GB, free: 9.746 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.02, allocations: 3.953 kB / 0.9711 GB, free: 9.746 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_AirDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.AirDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.521403959020972] Failed to read output from testmodel.py, exit status != 0: 11.125212967861444 11.489543972 11.136258738 Calling exit ...