Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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.001289/0.001289, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.0014/0.0014, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.364/1.364, allocations: 230.6 MB / 256 MB, free: 7.992 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.002495/0.002495, allocations: 290.9 kB / 312.7 MB, free: 2.777 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.167/1.167, allocations: 180.6 MB / 0.5369 GB, free: 13 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.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.002768/0.002768, allocations: 102.5 kB / 0.7396 GB, free: 28.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1663, allocations: 95.39 MB / 0.8327 GB, free: 8.672 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002463/0.1688, allocations: 1.292 MB / 0.834 GB, free: 7.367 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1689/0.3377, allocations: 150.3 MB / 0.9808 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.3377, allocations: 0 / 0.9808 GB, free: 484 kB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.533e-05/0.3377, allocations: 3.984 kB / 0.9808 GB, free: 480 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.266e-05/0.3378, allocations: 11.92 kB / 0.9808 GB, free: 468 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003906/0.3382, allocations: 91.56 kB / 0.9809 GB, free: 376 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.3383, allocations: 39.86 kB / 0.9809 GB, free: 336 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.587e-05/0.3383, allocations: 4 kB / 0.9809 GB, free: 332 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.494e-05/0.3383, allocations: 11.98 kB / 0.9809 GB, free: 320 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.937e-05/0.3384, allocations: 19.91 kB / 0.9809 GB, free: 300 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.175e-05/0.3384, allocations: 7.938 kB / 0.981 GB, free: 292 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002358/0.3387, allocations: 71.84 kB / 0.981 GB, free: 220 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.3387, allocations: 11.97 kB / 0.981 GB, free: 208 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.3387, allocations: 15.94 kB / 0.9811 GB, free: 192 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3388, allocations: 68.05 kB / 0.9811 GB, free: 124 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3388, allocations: 3.984 kB / 0.9811 GB, free: 120 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.343e-06/0.3389, allocations: 4 kB / 0.9811 GB, free: 116 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.577e-06/0.3389, allocations: 0 / 0.9811 GB, free: 116 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.2954/0.6342, allocations: 266.1 kB / 0.9814 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.6343, allocations: 11.88 kB / 0.9814 GB, free: 154.1 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.706e-05/0.6343, allocations: 35.53 kB / 0.9814 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002233/0.6345, allocations: 12.5 kB / 0.9814 GB, free: 154 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.73e-05/0.6346, allocations: 110.5 kB / 0.9815 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.6346, allocations: 1.594 kB / 0.9815 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.6346, allocations: 16.73 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001158/0.6348, allocations: 54.8 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.6348, allocations: 8.625 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.6348, allocations: 3.25 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.6348, allocations: 0.8438 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.95e-05/0.6348, allocations: 19.69 kB / 0.9816 GB, free: 153.9 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001142/0.6349, allocations: 132 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.939e-05/0.635, allocations: 52.83 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.399e-05/0.635, allocations: 12 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.6351, allocations: 1.031 kB / 0.9818 GB, free: 153.7 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.797e-05/0.6351, allocations: 37.45 kB / 0.9819 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.6351, allocations: 0 / 0.9819 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.000624/0.6357, allocations: 301 kB / 0.9822 GB, free: 153.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.836e-05/0.6357, allocations: 53.44 kB / 0.9822 GB, free: 153.4 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.706e-05/0.6358, allocations: 95.42 kB / 0.9823 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.6358, allocations: 28.33 kB / 0.9823 GB, free: 153.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.197e-06/0.6358, allocations: 81.98 kB / 0.9824 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.6358, allocations: 47.83 kB / 0.9824 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-05/0.6358, allocations: 27.47 kB / 0.9825 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.523e-05/0.6359, allocations: 318.3 kB / 0.9828 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.6359, allocations: 20.31 kB / 0.9828 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.351e-05/0.636, allocations: 39.27 kB / 0.9828 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.415e-05/0.636, allocations: 57.39 kB / 0.9829 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.636, allocations: 0.9062 kB / 0.9829 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001377/0.6362, allocations: 99.88 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6362, allocations: 5.719 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.6362, allocations: 1.297 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.6362, allocations: 0.8438 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001137/0.6363, allocations: 22.52 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.6363, allocations: 5.5 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.6363, allocations: 7.906 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.6364, allocations: 3.531 kB / 0.983 GB, free: 152.8 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 4.853e-05/0.6364, allocations: 113.6 kB / 0.9831 GB, free: 152.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.503e-05/0.6364, allocations: 11.39 kB / 0.9831 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.315e-05/0.6365, allocations: 14.67 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6365, allocations: 2.609 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6365, allocations: 0 / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.6365, allocations: 1.578 kB / 0.9832 GB, free: 152.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.164e-05/0.6365, allocations: 148 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6365, allocations: 0 / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.6367, allocations: 21 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.6367, allocations: 1.703 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.6367, allocations: 8.344 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.6367, allocations: 3.938 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-06/0.6367, allocations: 1.547 kB / 0.9833 GB, free: 152.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001737/0.6368, allocations: 130 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.415e-05/0.6369, allocations: 11.61 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.403e-05/0.6369, allocations: 4.844 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.057e-05/0.637, allocations: 6.75 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.563e-05/0.637, allocations: 5.688 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/0.637, allocations: 3.984 kB / 0.9835 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.752e-05/0.637, allocations: 79.28 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/0.637, allocations: 0.7812 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001972/0.6372, allocations: 15.31 kB / 0.9836 GB, free: 152.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0003345/0.6376, allocations: 0.674 MB / 0.9842 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001453/0.6377, allocations: 55.55 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/0.6377, allocations: 7.812 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.191e-05/0.6378, allocations: 29.84 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002372/0.638, allocations: 13.12 kB / 0.9843 GB, free: 151.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001135/0.6391, allocations: 1.444 MB / 0.9858 GB, free: 150.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001077/0.6392, allocations: 0.6855 MB / 0.9864 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.193e-05/0.6393, allocations: 10.55 kB / 0.9864 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.172e-05/0.6393, allocations: 19.97 kB / 0.9865 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.6393, allocations: 0 / 0.9865 GB, free: 149.8 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02755/0.6669, allocations: 1.858 MB / 0.9883 GB, free: 149.4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.43, allocations: 9.469 kB / 0.9883 GB, free: 149.4 MB / 0.7169 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck_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_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.481046937002247] Failed to read output from testmodel.py, exit status != 0: 11.538186838999536 11.554470314 11.212819638 Calling exit ...