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.001291/0.001291, allocations: 110.1 kB / 16.46 MB, free: 6.453 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.001367/0.001367, allocations: 215.2 kB / 19.43 MB, free: 3.625 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.4/1.4, allocations: 230.6 MB / 252.8 MB, free: 9 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 288.5 kB / 309.1 MB, free: 3.992 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.198/1.198, allocations: 180.9 MB / 0.5333 GB, free: 13.82 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 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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.002724/0.002724, allocations: 106.8 kB / 0.7342 GB, free: 28.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.1697, allocations: 95.32 MB / 0.8273 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002622/0.1723, allocations: 1.36 MB / 0.8287 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1781/0.3504, allocations: 151.4 MB / 0.9765 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.3505, allocations: 0 / 0.9765 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.247e-05/0.3505, allocations: 7.922 kB / 0.9765 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.752e-05/0.3506, allocations: 15.92 kB / 0.9765 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008984/0.3515, allocations: 334.6 kB / 0.9768 GB, free: 240 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3516, allocations: 63.77 kB / 0.9769 GB, free: 176 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.751e-05/0.3516, allocations: 11.98 kB / 0.9769 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.037e-05/0.3517, allocations: 31.86 kB / 0.9769 GB, free: 132 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.963e-05/0.3518, allocations: 35.83 kB / 0.977 GB, free: 96 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.3518, allocations: 7.984 kB / 0.977 GB, free: 88 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.3969/0.7487, allocations: 433.1 kB / 0.9774 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.64e-05/0.7488, allocations: 15.64 kB / 0.9774 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.7488, allocations: 27.2 kB / 0.9774 GB, free: 3.664 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004388/0.7493, allocations: 162.1 kB / 0.9776 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.7493, allocations: 0.6875 kB / 0.9776 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.7493, allocations: 4.234 kB / 0.9776 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.475e-06/0.7493, allocations: 0 / 0.9776 GB, free: 3.656 MB / 0.7169 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.0005846/0.7499, allocations: 390.6 kB / 0.9779 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.7499, allocations: 9.781 kB / 0.978 GB, free: 19.28 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.059e-05/0.7499, allocations: 40.14 kB / 0.978 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004257/0.7504, allocations: 34.92 kB / 0.978 GB, free: 19.24 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.7505, allocations: 171 kB / 0.9782 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.7505, allocations: 5.375 kB / 0.9782 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.594e-05/0.7505, allocations: 17.44 kB / 0.9782 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001911/0.7507, allocations: 82.34 kB / 0.9783 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.7507, allocations: 0.9062 kB / 0.9783 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.7508, allocations: 6.375 kB / 0.9783 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.7508, allocations: 1.656 kB / 0.9783 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.7509, allocations: 50.12 kB / 0.9784 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001986/0.7511, allocations: 182.6 kB / 0.9785 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.7513, allocations: 86.19 kB / 0.9786 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.7513, allocations: 29.25 kB / 0.9786 GB, free: 18.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002602/0.7516, allocations: 179.6 kB / 0.9788 GB, free: 18.59 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.7516, allocations: 36.67 kB / 0.9788 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.7516, allocations: 0 / 0.9788 GB, free: 18.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001391/0.753, allocations: 0.5509 MB / 0.9794 GB, free: 18.29 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.753, allocations: 55.47 kB / 0.9794 GB, free: 18.22 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.379e-05/0.7531, allocations: 99.25 kB / 0.9795 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.7531, allocations: 30.98 kB / 0.9796 GB, free: 18.09 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.7532, allocations: 81.39 kB / 0.9796 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.741e-05/0.7532, allocations: 74.28 kB / 0.9797 GB, free: 17.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-05/0.7533, allocations: 41.89 kB / 0.9797 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.7534, allocations: 324.8 kB / 0.9801 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.086e-05/0.7535, allocations: 32.83 kB / 0.9801 GB, free: 17.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.967e-05/0.7536, allocations: 70.64 kB / 0.9802 GB, free: 17.6 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.7537, allocations: 115.9 kB / 0.9803 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.7537, allocations: 3.031 kB / 0.9803 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002444/0.754, allocations: 158.3 kB / 0.9804 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.754, allocations: 8.781 kB / 0.9804 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.754, allocations: 0.9375 kB / 0.9804 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.754, allocations: 4.219 kB / 0.9804 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.7542, allocations: 41.92 kB / 0.9805 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.7542, allocations: 3.203 kB / 0.9805 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.543e-05/0.7543, allocations: 6.281 kB / 0.9805 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.7543, allocations: 9.094 kB / 0.9805 GB, free: 17.53 MB / 0.7325 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 9.79e-05/0.7544, allocations: 122.9 kB / 0.9806 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.14e-05/0.7544, allocations: 10.98 kB / 0.9806 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.198e-05/0.7545, allocations: 19.19 kB / 0.9806 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.7545, allocations: 2.688 kB / 0.9806 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.7545, allocations: 0.7031 kB / 0.9806 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7545, allocations: 2.5 kB / 0.9806 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/0.7546, allocations: 196.3 kB / 0.9808 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.7546, allocations: 0.75 kB / 0.9808 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002037/0.7548, allocations: 42.55 kB / 0.9809 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7548, allocations: 1.938 kB / 0.9809 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.7549, allocations: 1.281 kB / 0.9809 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.7549, allocations: 4.688 kB / 0.9809 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.7549, allocations: 0.9062 kB / 0.9809 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003425/0.7552, allocations: 222.5 kB / 0.9811 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.477e-05/0.7553, allocations: 91.47 kB / 0.9812 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.964e-05/0.7553, allocations: 5.484 kB / 0.9812 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.7554, allocations: 14.03 kB / 0.9812 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.7555, allocations: 9.844 kB / 0.9812 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.7555, allocations: 6.594 kB / 0.9812 GB, free: 17.04 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.7555, allocations: 84.03 kB / 0.9813 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of sort global known variables: time 6.1e-08/0.7555, allocations: 0 / 0.9813 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002227/0.7558, allocations: 27.44 kB / 0.9813 GB, free: 16.96 MB / 0.7325 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.0007035/0.7565, allocations: 0.7461 MB / 0.982 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.7567, allocations: 105.6 kB / 0.9821 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7567, allocations: 1.906 kB / 0.9821 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.001e-05/0.7568, allocations: 47.08 kB / 0.9822 GB, free: 16.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.7571, allocations: 19.64 kB / 0.9822 GB, free: 16.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/0.759, allocations: 1.829 MB / 0.984 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003122/0.7593, allocations: 0.7029 MB / 0.9847 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.904e-05/0.7594, allocations: 23.91 kB / 0.9847 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.424e-05/0.7595, allocations: 26.22 kB / 0.9847 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.7595, allocations: 0.875 kB / 0.9847 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.785, allocations: 2.453 MB / 0.9871 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.647/8.432, allocations: 5.375 kB / 0.9871 GB, free: 14.07 MB / 0.7325 GB " [Timeout remaining time 651] (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: 12.444087656214833] Failed to read output from testmodel.py, exit status != 0: 8.510227453894913 8.523641558 7.771943531 Calling exit ...