Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.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.001243/0.001243, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.001316/0.001316, allocations: 215 kB / 20.13 MB, free: 2.949 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.412/1.412, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002446/0.002446, allocations: 293.3 kB / 309.8 MB, free: 3.438 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.04/1.04, allocations: 180.6 MB / 0.5338 GB, free: 12.39 MB / 398.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.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.SteamDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck",fmuType="cs",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.002817/0.002817, allocations: 99.84 kB / 0.7346 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5365/0.5393, allocations: 95.34 MB / 0.8277 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamDerivativeCheck): time 0.002052/0.5414, allocations: 1.292 MB / 0.829 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1846/0.7259, allocations: 141 MB / 0.9667 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.595e-05/0.726, allocations: 0 / 0.9667 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 2.046e-05/0.726, allocations: 0 / 0.9667 GB, free: 11.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 6.597e-05/0.7261, allocations: 11.92 kB / 0.9667 GB, free: 11.46 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.7275, allocations: 470.3 kB / 0.9671 GB, free: 11 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 9.746e-05/0.7276, allocations: 31.92 kB / 0.9671 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 4.968e-05/0.7277, allocations: 7.984 kB / 0.9671 GB, free: 10.96 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 5.322e-05/0.7277, allocations: 27.91 kB / 0.9672 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.7278, allocations: 15.92 kB / 0.9672 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.443e-05/0.7278, allocations: 4 kB / 0.9672 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001476/0.7293, allocations: 0.8349 MB / 0.968 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 1.487e-05/0.7293, allocations: 7.922 kB / 0.968 GB, free: 10.07 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 3.375e-05/0.7293, allocations: 19.92 kB / 0.968 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.73, allocations: 450.8 kB / 0.9685 GB, free: 9.609 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.73, allocations: 4 kB / 0.9685 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.302e-06/0.73, allocations: 0 / 0.9685 GB, free: 9.605 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 7.364e-06/0.73, allocations: 0 / 0.9685 GB, free: 9.605 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005988/0.7306, allocations: 375.2 kB / 0.9688 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.7306, allocations: 8.031 kB / 0.9688 GB, free: 9.184 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.298e-05/0.7306, allocations: 8.188 kB / 0.9688 GB, free: 9.176 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.7307, allocations: 30.75 kB / 0.9689 GB, free: 9.137 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.7309, allocations: 12.92 kB / 0.9689 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.731, allocations: 168.3 kB / 0.969 GB, free: 8.922 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.731, allocations: 12.12 kB / 0.9691 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.7311, allocations: 7.953 kB / 0.9691 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.7312, allocations: 57.61 kB / 0.9691 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.7312, allocations: 0 / 0.9691 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.7312, allocations: 0 / 0.9691 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.7312, allocations: 0 / 0.9691 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.345e-05/0.7313, allocations: 19.98 kB / 0.9691 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002109/0.7315, allocations: 165.7 kB / 0.9693 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001197/0.7316, allocations: 54.5 kB / 0.9693 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.963e-05/0.7317, allocations: 12.84 kB / 0.9694 GB, free: 8.531 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/0.7435, allocations: 3.202 MB / 0.9725 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.31e-05/0.7436, allocations: 38.5 kB / 0.9725 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=7): time 2.334e-06/0.7436, allocations: 0 / 0.9725 GB, free: 5.188 MB / 0.7012 GB Notification: Performance of matching and sorting (n=11): time 0.04497/0.7886, allocations: 15.01 MB / 0.9872 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.7886, allocations: 55.41 kB / 0.9872 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.965e-05/0.7887, allocations: 89.86 kB / 0.9873 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.7887, allocations: 29.7 kB / 0.9874 GB, free: 5.824 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.7888, allocations: 88.27 kB / 0.9874 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.7888, allocations: 39.64 kB / 0.9875 GB, free: 5.695 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.7889, allocations: 29.72 kB / 0.9875 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.789, allocations: 322.8 kB / 0.9878 GB, free: 5.336 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.521e-05/0.7891, allocations: 19.98 kB / 0.9878 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.179e-05/0.7891, allocations: 24 kB / 0.9879 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.7893, allocations: 62.53 kB / 0.9879 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.7893, allocations: 4 kB / 0.9879 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002376/0.7895, allocations: 105.6 kB / 0.988 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.7895, allocations: 12 kB / 0.988 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.7895, allocations: 0 / 0.988 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.7896, allocations: 0 / 0.988 GB, free: 5.105 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.7897, allocations: 23.94 kB / 0.9881 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7897, allocations: 3.984 kB / 0.9881 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.7897, allocations: 4 kB / 0.9881 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.7897, allocations: 4 kB / 0.9881 GB, free: 5.07 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 0.0001028/0.7898, allocations: 121.7 kB / 0.9882 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.163e-05/0.7899, allocations: 4 kB / 0.9882 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000269/0.7902, allocations: 121.5 kB / 0.9883 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7902, allocations: 4 kB / 0.9883 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.7902, allocations: 0 / 0.9883 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.7902, allocations: 0 / 0.9883 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.7904, allocations: 181.6 kB / 0.9885 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.7904, allocations: 0 / 0.9885 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.7905, allocations: 27.92 kB / 0.9885 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.7905, allocations: 4 kB / 0.9885 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.492e-05/0.7905, allocations: 8 kB / 0.9885 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.7905, allocations: 0 / 0.9885 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.7905, allocations: 0 / 0.9885 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000321/0.7908, allocations: 164.9 kB / 0.9887 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.931e-05/0.7909, allocations: 89.09 kB / 0.9888 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.7909, allocations: 0 / 0.9888 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.7911, allocations: 20.08 kB / 0.9888 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.7911, allocations: 15.91 kB / 0.9888 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.7911, allocations: 8 kB / 0.9888 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.096e-05/0.7912, allocations: 75.28 kB / 0.9889 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.7912, allocations: 0 / 0.9889 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00193/0.7931, allocations: 0.5699 MB / 0.9894 GB, free: 3.57 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (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.004109/0.7972, allocations: 0.9323 MB / 0.9903 GB, free: 2.609 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000251/0.7975, allocations: 67.17 kB / 0.9904 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.7975, allocations: 0 / 0.9904 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.386e-05/0.7975, allocations: 43.8 kB / 0.9904 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002181/0.7978, allocations: 12 kB / 0.9905 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002686/0.8004, allocations: 1.543 MB / 0.992 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004233/0.8009, allocations: 0.6885 MB / 0.9926 GB, free: 152 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.484e-05/0.8009, allocations: 24.59 kB / 0.9927 GB, free: 128 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.801, allocations: 15.44 kB / 0.9927 GB, free: 112 kB / 0.7169 GB Notification: Performance of SimCode: time 5.61e-07/0.801, allocations: 0 / 0.9927 GB, free: 112 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05819/0.8592, allocations: 25.55 MB / 1.018 GB, free: 6.672 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/9.452, allocations: 16.52 kB / 1.018 GB, free: 6.66 MB / 0.7481 GB " [Timeout remaining time 650] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-10 BuildingSystems_BuildingSystems_Media_Examples_SteamDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.SteamDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.54032442101743] Failed to read output from testmodel.py, exit status != 0: 9.584859983995557 9.599370256 8.866434054 Calling exit ...