Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.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.001516/0.001516, allocations: 78.5 kB / 19 MB, free: 2.867 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.001744/0.001744, allocations: 159.2 kB / 22.25 MB, free: 5.137 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.47/1.47, allocations: 177.2 MB / 202.6 MB, free: 9.266 MB / 190.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.002458/0.002458, allocations: 225.7 kB / 259.2 MB, free: 0.5898 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.049/1.049, allocations: 138.5 MB / 454.2 MB, free: 2.062 MB / 366.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: translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion") [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.003145/0.003145, allocations: 99.84 kB / 0.6466 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3886, allocations: 95.35 MB / 0.7397 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005709/0.3943, allocations: 3.906 MB / 0.7435 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002043/0.3945, allocations: 135.5 kB / 0.7436 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.3946, allocations: 0 / 0.7436 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.812e-05/0.3947, allocations: 0 / 0.7436 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/0.3947, allocations: 23.91 kB / 0.7437 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003377/0.3951, allocations: 79.69 kB / 0.7437 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 8.737e-05/0.3952, allocations: 35.86 kB / 0.7438 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3952, allocations: 3.984 kB / 0.7438 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.325e-05/0.3953, allocations: 27.91 kB / 0.7438 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.551e-05/0.3954, allocations: 4 kB / 0.7438 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.3954, allocations: 4 kB / 0.7438 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.3956, allocations: 59.8 kB / 0.7439 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.602e-05/0.3956, allocations: 11.94 kB / 0.7439 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.3956, allocations: 11.97 kB / 0.7439 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.3958, allocations: 57 kB / 0.7439 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3958, allocations: 0 / 0.7439 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.172e-06/0.3958, allocations: 0 / 0.7439 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.3958, allocations: 0 / 0.7439 GB, free: 10.86 MB / 0.5762 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.0003845/0.3962, allocations: 262.3 kB / 0.7442 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.526e-05/0.3962, allocations: 9.344 kB / 0.7442 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3962, allocations: 8.922 kB / 0.7442 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001216/0.3964, allocations: 118.4 kB / 0.7443 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.054e-05/0.3964, allocations: 59.97 kB / 0.7444 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.3965, allocations: 384 / 0.7444 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.3966, allocations: 67.33 kB / 0.7444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.3966, allocations: 0 / 0.7444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.3966, allocations: 4 kB / 0.7444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.3966, allocations: 0 / 0.7444 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.023e-05/0.3967, allocations: 15.98 kB / 0.7445 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004272/0.3971, allocations: 204.6 kB / 0.7447 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.117e-05/0.3972, allocations: 22.52 kB / 0.7447 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.3972, allocations: 12.84 kB / 0.7447 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.3972, allocations: 8.062 kB / 0.7447 GB, free: 9.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3973, allocations: 30.56 kB / 0.7447 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.3973, allocations: 0 / 0.7447 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.3974, allocations: 41.64 kB / 0.7448 GB, free: 9.879 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3975, allocations: 51.41 kB / 0.7448 GB, free: 9.816 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.23e-05/0.3975, allocations: 101.8 kB / 0.7449 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.3976, allocations: 25.7 kB / 0.7449 GB, free: 9.676 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.689e-05/0.3976, allocations: 88.09 kB / 0.745 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.3976, allocations: 16.05 kB / 0.745 GB, free: 9.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3977, allocations: 17.72 kB / 0.745 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.3978, allocations: 314.8 kB / 0.7453 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.695e-05/0.3978, allocations: 4 kB / 0.7454 GB, free: 9.227 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.782e-05/0.3979, allocations: 17.7 kB / 0.7454 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.809e-05/0.3979, allocations: 25.66 kB / 0.7454 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.3979, allocations: 0 / 0.7454 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.469e-05/0.398, allocations: 49.91 kB / 0.7454 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.398, allocations: 8.062 kB / 0.7454 GB, free: 9.109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.398, allocations: 4 kB / 0.7455 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.398, allocations: 0 / 0.7455 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.901e-05/0.3981, allocations: 4 kB / 0.7455 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.3981, allocations: 0 / 0.7455 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.967e-05/0.3981, allocations: 4 kB / 0.7455 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3981, allocations: 7.922 kB / 0.7455 GB, free: 9.09 MB / 0.5762 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.71e-05/0.3982, allocations: 125.7 kB / 0.7456 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.663e-05/0.3982, allocations: 0 / 0.7456 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.3983, allocations: 120.9 kB / 0.7457 GB, free: 8.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-05/0.3984, allocations: 184.2 kB / 0.7459 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.533e-05/0.3985, allocations: 184.2 kB / 0.7461 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.312e-05/0.3986, allocations: 188.2 kB / 0.7462 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3988, allocations: 356.8 kB / 0.7466 GB, free: 7.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.596e-05/0.3989, allocations: 105 kB / 0.7467 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3989, allocations: 104.9 kB / 0.7468 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-05/0.399, allocations: 184.3 kB / 0.7469 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.4e-05/0.3991, allocations: 176.3 kB / 0.7471 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.892e-05/0.3992, allocations: 180.2 kB / 0.7473 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001258/0.3993, allocations: 188.2 kB / 0.7475 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.3995, allocations: 315.7 kB / 0.7478 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.096e-05/0.3996, allocations: 105 kB / 0.7479 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.368e-05/0.3997, allocations: 184.2 kB / 0.748 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001965/0.3999, allocations: 105 kB / 0.7481 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.424e-05/0.3999, allocations: 184.2 kB / 0.7483 GB, free: 5.992 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.4, allocations: 105 kB / 0.7484 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.4, allocations: 83.27 kB / 0.7485 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.4, allocations: 0 / 0.7485 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002449/0.4003, allocations: 15.94 kB / 0.7485 GB, free: 5.785 MB / 0.5762 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.0001885/0.4005, allocations: 194.5 kB / 0.7487 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.287e-05/0.4006, allocations: 15.92 kB / 0.7487 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.4006, allocations: 3.938 kB / 0.7487 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.4006, allocations: 0 / 0.7487 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004464/0.401, allocations: 462.8 kB / 0.7492 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002886/0.4013, allocations: 193.9 kB / 0.7493 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.783e-05/0.4013, allocations: 55.36 kB / 0.7494 GB, free: 4.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.4014, allocations: 16.11 kB / 0.7494 GB, free: 4.805 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.4014, allocations: 8.5 kB / 0.7494 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.4014, allocations: 0 / 0.7494 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of Templates: time 0.003105/0.4045, allocations: 0.6626 MB / 0.7501 GB, free: 4.148 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.880493713542819] Failed to read output from testmodel.py, exit status != 0: 0.4128245636820793 0.42758683000000003 0.028653614 Calling exit ...