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.001242/0.001242, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001497/0.001497, allocations: 217.8 kB / 22.26 MB, free: 5.082 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 8.035 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.002632/0.002632, allocations: 285.5 kB / 312.7 MB, free: 2.844 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.305/1.305, allocations: 180.6 MB / 0.5369 GB, free: 12.97 MB / 382.1 MB " [Timeout remaining time 178] 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.002918/0.002918, allocations: 109.7 kB / 0.7396 GB, free: 28.58 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2227, allocations: 95.39 MB / 0.8327 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.AirDerivativeCheck): time 0.002614/0.2253, allocations: 1.356 MB / 0.834 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.8267/1.052, allocations: 151.4 MB / 0.9819 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.137e-05/1.052, allocations: 1.094 kB / 0.9819 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.376e-05/1.052, allocations: 5.25 kB / 0.9819 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/1.052, allocations: 15.19 kB / 0.9819 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00134/1.054, allocations: 339.7 kB / 0.9822 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000169/1.054, allocations: 68.16 kB / 0.9823 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.727e-05/1.054, allocations: 2.406 kB / 0.9823 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/1.054, allocations: 30.39 kB / 0.9823 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000137/1.054, allocations: 37.02 kB / 0.9824 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.677e-05/1.054, allocations: 6.172 kB / 0.9824 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00118/1.055, allocations: 442.4 kB / 0.9828 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.501e-05/1.055, allocations: 20.61 kB / 0.9828 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.524e-05/1.055, allocations: 24.02 kB / 0.9828 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004398/1.056, allocations: 165.5 kB / 0.983 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.056, allocations: 1.594 kB / 0.983 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.206e-06/1.056, allocations: 1.5 kB / 0.983 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.765e-06/1.056, allocations: 0 / 0.983 GB, free: 4.016 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.000787/1.057, allocations: 315.9 kB / 0.9833 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.089e-05/1.057, allocations: 12 kB / 0.9833 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/1.057, allocations: 38.56 kB / 0.9834 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/1.057, allocations: 31.97 kB / 0.9834 GB, free: 19.7 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/1.057, allocations: 114.4 kB / 0.9835 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/1.057, allocations: 6.625 kB / 0.9835 GB, free: 19.57 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.478e-05/1.057, allocations: 18.56 kB / 0.9835 GB, free: 19.56 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/1.057, allocations: 76.34 kB / 0.9836 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/1.057, allocations: 6.625 kB / 0.9836 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.057, allocations: 5.219 kB / 0.9836 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/1.057, allocations: 3.703 kB / 0.9836 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/1.058, allocations: 43.7 kB / 0.9836 GB, free: 19.53 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002195/1.058, allocations: 153.1 kB / 0.9838 GB, free: 19.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002119/1.058, allocations: 89.61 kB / 0.9839 GB, free: 19.35 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.194e-05/1.058, allocations: 30.55 kB / 0.9839 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/1.058, allocations: 26.8 kB / 0.9839 GB, free: 19.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.058, allocations: 36.98 kB / 0.984 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/1.058, allocations: 2.062 kB / 0.984 GB, free: 19.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.001405/1.06, allocations: 482.9 kB / 0.9844 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/1.06, allocations: 53.77 kB / 0.9845 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.724e-05/1.06, allocations: 99.38 kB / 0.9846 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.06, allocations: 31.39 kB / 0.9846 GB, free: 18.94 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/1.06, allocations: 82.53 kB / 0.9847 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.605e-05/1.06, allocations: 72.64 kB / 0.9848 GB, free: 18.81 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.444e-05/1.06, allocations: 41.53 kB / 0.9848 GB, free: 18.79 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.06, allocations: 323.4 kB / 0.9851 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/1.06, allocations: 38.02 kB / 0.9851 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.516e-05/1.06, allocations: 71.22 kB / 0.9852 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/1.06, allocations: 122.3 kB / 0.9853 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.06, allocations: 0.7188 kB / 0.9853 GB, free: 18.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002539/1.061, allocations: 162 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.061, allocations: 5.25 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/1.061, allocations: 1.594 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.061, allocations: 3.922 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001943/1.061, allocations: 37.7 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/1.061, allocations: 4.234 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/1.061, allocations: 5.938 kB / 0.9855 GB, free: 18.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/1.061, allocations: 9 kB / 0.9855 GB, free: 18.38 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 0.0001201/1.061, allocations: 121.8 kB / 0.9857 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/1.061, allocations: 12.52 kB / 0.9857 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.767e-05/1.061, allocations: 19.25 kB / 0.9857 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.061, allocations: 2.344 kB / 0.9857 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.061, allocations: 0.9688 kB / 0.9857 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/1.061, allocations: 0.8125 kB / 0.9857 GB, free: 18.26 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001812/1.061, allocations: 168 kB / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.061, allocations: 0 / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/1.062, allocations: 39.98 kB / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/1.062, allocations: 1.25 kB / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.062, allocations: 5.656 kB / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.459e-06/1.062, allocations: 1.812 kB / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/1.062, allocations: 0.9062 kB / 0.9859 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003654/1.062, allocations: 220 kB / 0.9861 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.791e-05/1.062, allocations: 17.91 kB / 0.9861 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/1.062, allocations: 5.688 kB / 0.9861 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/1.062, allocations: 7.266 kB / 0.9861 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.729e-05/1.062, allocations: 14.36 kB / 0.9862 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/1.062, allocations: 5.719 kB / 0.9862 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.293e-05/1.062, allocations: 81 kB / 0.9862 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8e-08/1.062, allocations: 0.9688 kB / 0.9862 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002368/1.063, allocations: 28.16 kB / 0.9863 GB, free: 17.94 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.0007311/1.063, allocations: 0.7565 MB / 0.987 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002273/1.064, allocations: 102.3 kB / 0.9871 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.064, allocations: 1.719 kB / 0.9871 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/1.064, allocations: 48.27 kB / 0.9871 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/1.064, allocations: 16.86 kB / 0.9872 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002134/1.066, allocations: 1.828 MB / 0.989 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/1.066, allocations: 0.7038 MB / 0.9896 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001107/1.067, allocations: 20.62 kB / 0.9897 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.368e-05/1.067, allocations: 26.95 kB / 0.9897 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/1.067, allocations: 0.7812 kB / 0.9897 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03022/1.097, allocations: 2.655 MB / 0.9923 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.9, allocations: 3.828 kB / 0.9923 GB, free: 15.02 MB / 0.7325 GB " [Timeout remaining time 648] (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: 16.475271420000354] Failed to read output from testmodel.py, exit status != 0: 12.004998574000638 12.03003873 10.969971119 Calling exit ...