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.0009463/0.0009463, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001293/0.00224, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0006973/0.0006973, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009119/0.001609, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9486/0.9486, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08968/1.038, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] 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.00163/0.00163, allocations: 236.6 kB / 244.4 MB, free: 14.54 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007071/0.0087, allocations: 475.6 kB / 244.8 MB, free: 14.07 MB / 250.7 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 0.72/0.72, allocations: 138.7 MB / 384.3 MB, free: 368 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06985/0.7899, allocations: 42.41 MB / 426.7 MB, free: 5.824 MB / 410.7 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: 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: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 428 MB, free: 4.508 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.511e-05, allocations: 2.312 kB / 428 MB, free: 4.504 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3155/0.3155, allocations: 131.1 MB / 0.546 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0001629/0.3156, allocations: 54.3 kB / 0.546 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.3157, allocations: 0 / 0.546 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.326e-05/0.3157, allocations: 11.92 kB / 0.5461 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.729e-05/0.3158, allocations: 11.92 kB / 0.5461 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.3165, allocations: 258.5 kB / 0.5463 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 8.809e-05/0.3166, allocations: 39.84 kB / 0.5463 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.702e-05/0.3166, allocations: 1.875 kB / 0.5464 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.214e-05/0.3167, allocations: 23.91 kB / 0.5464 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.3168, allocations: 11.98 kB / 0.5464 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.3168, allocations: 0 / 0.5464 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003431/0.3171, allocations: 194.4 kB / 0.5466 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.881e-05/0.3172, allocations: 3.938 kB / 0.5466 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.716e-05/0.3172, allocations: 8.625 kB / 0.5466 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.3174, allocations: 161.7 kB / 0.5467 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.166e-05/0.3175, allocations: 0 / 0.5467 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3175, allocations: 4 kB / 0.5467 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.798e-06/0.3175, allocations: 0 / 0.5467 GB, free: 12.68 MB / 0.5261 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.0003373/0.3178, allocations: 277 kB / 0.547 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.3178, allocations: 12.03 kB / 0.547 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3179, allocations: 0.9375 kB / 0.547 GB, free: 12.37 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.073e-05/0.318, allocations: 112.7 kB / 0.5471 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.318, allocations: 51.97 kB / 0.5472 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.318, allocations: 4.375 kB / 0.5472 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/0.3181, allocations: 79.48 kB / 0.5473 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3181, allocations: 3.938 kB / 0.5473 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3181, allocations: 7.984 kB / 0.5473 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.529e-05/0.3182, allocations: 4.812 kB / 0.5473 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.082e-05/0.3182, allocations: 11.92 kB / 0.5473 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.3186, allocations: 197.4 kB / 0.5475 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 2.944e-05/0.3186, allocations: 18.58 kB / 0.5475 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.147e-05/0.3186, allocations: 10.16 kB / 0.5475 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.149e-05/0.3186, allocations: 32.03 kB / 0.5475 GB, free: 11.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.3187, allocations: 42.44 kB / 0.5476 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 9.21e-07/0.3187, allocations: 0 / 0.5476 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 9.627e-05/0.3188, allocations: 37.69 kB / 0.5476 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.3188, allocations: 51.41 kB / 0.5477 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.925e-05/0.3188, allocations: 102.7 kB / 0.5478 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.236e-05/0.3189, allocations: 25.7 kB / 0.5478 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.947e-05/0.3189, allocations: 94.25 kB / 0.5479 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-06/0.3189, allocations: 3.984 kB / 0.5479 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.3189, allocations: 13.72 kB / 0.5479 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001973/0.3191, allocations: 319 kB / 0.5482 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-06/0.3191, allocations: 0 / 0.5482 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.685e-05/0.3191, allocations: 21.7 kB / 0.5482 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.827e-05/0.3192, allocations: 29.05 kB / 0.5482 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3192, allocations: 0 / 0.5482 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.182e-05/0.3192, allocations: 47.02 kB / 0.5483 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3192, allocations: 8 kB / 0.5483 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3192, allocations: 3.938 kB / 0.5483 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.3193, allocations: 4.062 kB / 0.5483 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.583e-05/0.3193, allocations: 8.609 kB / 0.5483 GB, free: 10.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.3193, allocations: 4.859 kB / 0.5483 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.596e-05/0.3193, allocations: 0 / 0.5483 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.3193, allocations: 0 / 0.5483 GB, free: 10.89 MB / 0.5261 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 5.161e-05/0.3194, allocations: 116.7 kB / 0.5484 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.3194, allocations: 3.938 kB / 0.5484 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.822e-05/0.3195, allocations: 129.6 kB / 0.5485 GB, free: 10.63 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.951e-05/0.3195, allocations: 176.3 kB / 0.5487 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-05/0.3196, allocations: 180.3 kB / 0.5489 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-05/0.3196, allocations: 184.2 kB / 0.5491 GB, free: 10.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.3198, allocations: 318.1 kB / 0.5494 GB, free: 9.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.574e-05/0.3198, allocations: 104.9 kB / 0.5495 GB, free: 9.637 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.3198, allocations: 105 kB / 0.5496 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.853e-05/0.3198, allocations: 105 kB / 0.5497 GB, free: 9.418 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.422e-05/0.3199, allocations: 188.1 kB / 0.5498 GB, free: 9.227 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.294e-05/0.3199, allocations: 182.6 kB / 0.55 GB, free: 9.043 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.407e-05/0.32, allocations: 184.2 kB / 0.5502 GB, free: 8.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.206e-05/0.32, allocations: 180.3 kB / 0.5504 GB, free: 8.672 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.418e-05/0.3201, allocations: 308.6 kB / 0.5507 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.3202, allocations: 184.3 kB / 0.5508 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.3203, allocations: 112.9 kB / 0.5509 GB, free: 8.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.234e-05/0.3203, allocations: 180.3 kB / 0.5511 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.801e-05/0.3203, allocations: 112.9 kB / 0.5512 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 1.658e-05/0.3203, allocations: 8.859 kB / 0.5512 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6e-08/0.3203, allocations: 0 / 0.5512 GB, free: 7.73 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002619/0.3206, allocations: 59.73 kB / 0.5513 GB, free: 7.672 MB / 0.5261 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.000259/0.3209, allocations: 236.6 kB / 0.5515 GB, free: 7.434 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 4.661e-05/0.3209, allocations: 12.8 kB / 0.5515 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.3209, allocations: 4 kB / 0.5515 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.455e-06/0.3209, allocations: 0 / 0.5515 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.3212, allocations: 0.5134 MB / 0.552 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008054/0.322, allocations: 191.9 kB / 0.5522 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.361e-05/0.322, allocations: 55.34 kB / 0.5523 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.609e-05/0.3221, allocations: 4 kB / 0.5523 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.909e-05/0.3221, allocations: 59.36 kB / 0.5523 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of SimCode: time 6.12e-07/0.3221, allocations: 0 / 0.5523 GB, free: 6.551 MB / 0.5261 GB Notification: Performance of Templates: time 0.003147/0.3253, allocations: 1.465 MB / 0.5538 GB, free: 5.16 MB / 0.5261 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.483540997840464]