Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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.001457/0.001457, 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.001684/0.001684, 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.773 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.002616/0.002616, allocations: 291.3 kB / 312.7 MB, free: 2.578 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.307/1.307, allocations: 180.6 MB / 0.5369 GB, free: 14.58 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: translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") [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.004031/0.004031, allocations: 105.7 kB / 0.74 GB, free: 27.6 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2247, allocations: 95.38 MB / 0.8331 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.1647/0.3895, allocations: 119 MB / 0.9493 GB, free: 368 kB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001916/0.3897, allocations: 51.86 kB / 0.9494 GB, free: 316 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.3897, allocations: 0 / 0.9494 GB, free: 316 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3898, allocations: 7.938 kB / 0.9494 GB, free: 308 kB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.285e-05/0.3899, allocations: 15.91 kB / 0.9494 GB, free: 292 kB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.000946/0.3908, allocations: 245 kB / 0.9496 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.133e-05/0.3909, allocations: 27.92 kB / 0.9497 GB, free: 20 kB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.081e-05/0.391, allocations: 4 kB / 0.9497 GB, free: 16 kB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 6.748e-05/0.391, allocations: 23.95 kB / 0.9497 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 7.925e-05/0.3911, allocations: 15.98 kB / 0.9497 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 1.394e-05/0.3911, allocations: 0 / 0.9497 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000457/0.3916, allocations: 171.5 kB / 0.9499 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.3916, allocations: 15.98 kB / 0.9499 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 2.754e-05/0.3917, allocations: 11.81 kB / 0.9499 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0004046/0.3921, allocations: 163.6 kB / 0.95 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.3921, allocations: 0 / 0.95 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of FrontEnd: time 9.62e-07/0.3921, allocations: 0 / 0.95 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.3921, allocations: 0 / 0.95 GB, free: 15.62 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000422/0.3925, allocations: 282 kB / 0.9503 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.3925, allocations: 13.33 kB / 0.9503 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.176e-05/0.3926, allocations: 8.875 kB / 0.9503 GB, free: 15.3 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.918e-05/0.3927, allocations: 106.5 kB / 0.9504 GB, free: 15.17 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-05/0.3928, allocations: 59.97 kB / 0.9505 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3928, allocations: 3.938 kB / 0.9505 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3929, allocations: 63.39 kB / 0.9506 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.234e-06/0.3929, allocations: 0 / 0.9506 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.688e-06/0.3929, allocations: 0 / 0.9506 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3929, allocations: 7.938 kB / 0.9506 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.393, allocations: 15.98 kB / 0.9506 GB, free: 15 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005954/0.3936, allocations: 260.4 kB / 0.9508 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 5.051e-05/0.3936, allocations: 26.58 kB / 0.9509 GB, free: 14.68 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.3937, allocations: 12.83 kB / 0.9509 GB, free: 14.66 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.329e-05/0.3937, allocations: 24.05 kB / 0.9509 GB, free: 14.64 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.3938, allocations: 34.56 kB / 0.9509 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.3938, allocations: 0 / 0.9509 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.3939, allocations: 41.62 kB / 0.951 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.394, allocations: 51.41 kB / 0.951 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.495e-05/0.394, allocations: 101.9 kB / 0.9511 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.3941, allocations: 25.7 kB / 0.9511 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 6.014e-05/0.3941, allocations: 92.02 kB / 0.9512 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.3941, allocations: 12.08 kB / 0.9512 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.87e-05/0.3942, allocations: 17.72 kB / 0.9512 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3943, allocations: 314.8 kB / 0.9515 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.76e-05/0.3943, allocations: 4 kB / 0.9516 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.74e-05/0.3944, allocations: 17.7 kB / 0.9516 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.19e-05/0.3944, allocations: 25.59 kB / 0.9516 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3944, allocations: 0 / 0.9516 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.744e-05/0.3945, allocations: 49.69 kB / 0.9516 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.3945, allocations: 8.062 kB / 0.9517 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.3945, allocations: 0 / 0.9517 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.3945, allocations: 0 / 0.9517 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.98e-05/0.3946, allocations: 11.94 kB / 0.9517 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3946, allocations: 0 / 0.9517 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.026e-05/0.3946, allocations: 3.984 kB / 0.9517 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.3946, allocations: 4 kB / 0.9517 GB, free: 13.76 MB / 0.7012 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 (3): * Single equations (assignments): 3 * 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 8.963e-05/0.3947, allocations: 110.4 kB / 0.9518 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3947, allocations: 4 kB / 0.9518 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001214/0.3948, allocations: 113 kB / 0.9519 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.123e-05/0.3949, allocations: 196.2 kB / 0.9521 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.21e-05/0.395, allocations: 176.3 kB / 0.9522 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.15e-05/0.3951, allocations: 184.2 kB / 0.9524 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002553/0.3954, allocations: 360.8 kB / 0.9528 GB, free: 12.56 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.381e-05/0.3954, allocations: 105 kB / 0.9529 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.822e-05/0.3955, allocations: 108.9 kB / 0.953 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.233e-05/0.3955, allocations: 180.3 kB / 0.9531 GB, free: 12.16 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.517e-05/0.3956, allocations: 184.2 kB / 0.9533 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.276e-05/0.3957, allocations: 180.4 kB / 0.9535 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.576e-05/0.3958, allocations: 176.3 kB / 0.9537 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.396, allocations: 319.7 kB / 0.954 GB, free: 11.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.396, allocations: 108.9 kB / 0.9541 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/0.3961, allocations: 184.2 kB / 0.9542 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.3963, allocations: 101 kB / 0.9543 GB, free: 10.86 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.3964, allocations: 184.2 kB / 0.9545 GB, free: 10.68 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.3964, allocations: 109 kB / 0.9546 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.3965, allocations: 79.28 kB / 0.9547 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 6e-08/0.3965, allocations: 0 / 0.9547 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003309/0.3968, allocations: 63.73 kB / 0.9547 GB, free: 10.42 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003896/0.3972, allocations: 246.2 kB / 0.955 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.44e-05/0.3973, allocations: 19.92 kB / 0.955 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.3973, allocations: 0 / 0.955 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.3973, allocations: 0 / 0.955 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004656/0.3978, allocations: 463.8 kB / 0.9554 GB, free: 9.691 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.3981, allocations: 186.1 kB / 0.9556 GB, free: 9.484 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.143e-05/0.3981, allocations: 55.36 kB / 0.9557 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 4.757e-05/0.3982, allocations: 8.266 kB / 0.9557 GB, free: 9.402 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.5e-05/0.3982, allocations: 11.44 kB / 0.9557 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of SimCode: time 4.51e-07/0.3982, allocations: 0 / 0.9557 GB, free: 9.391 MB / 0.7012 GB Notification: Performance of Templates: time 0.004554/0.4028, allocations: 1.35 MB / 0.957 GB, free: 8.047 MB / 0.7012 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.503571825101972] Failed to read output from testmodel.py, exit status != 0: 0.4119103644043207 0.433289517 0.037107982000000005 Calling exit ...