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.001849/0.001849, allocations: 92.7 kB / 19.44 MB, free: 328 kB / 13.93 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.001641/0.001641, allocations: 165.3 kB / 22.76 MB, free: 1.656 MB / 18.57 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.485/1.485, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 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.002617/0.002617, allocations: 234.1 kB / 259.8 MB, free: 12.85 MB / 250.7 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.09/1.09, allocations: 138.4 MB / 454.7 MB, free: 1.48 MB / 362.7 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: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.5543 GB, free: 0.9023 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.389e-05/2.532e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8984 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006545/0.00657, allocations: 3.901 MB / 0.5581 GB, free: 12.97 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002401/0.00681, allocations: 139.5 kB / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.408e-05/0.006834, allocations: 0 / 0.5582 GB, free: 12.83 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.006934, allocations: 7.922 kB / 0.5582 GB, free: 12.82 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 7.467e-05/0.007009, allocations: 15.92 kB / 0.5583 GB, free: 12.81 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003804/0.00739, allocations: 87.61 kB / 0.5583 GB, free: 12.72 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 9.061e-05/0.00748, allocations: 35.84 kB / 0.5584 GB, free: 12.69 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.231e-05/0.007512, allocations: 4 kB / 0.5584 GB, free: 12.68 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.007566, allocations: 15.98 kB / 0.5584 GB, free: 12.67 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.007635, allocations: 15.97 kB / 0.5584 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.007648, allocations: 0 / 0.5584 GB, free: 12.65 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.007846, allocations: 55.75 kB / 0.5585 GB, free: 12.6 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 4.441e-05/0.00789, allocations: 3.984 kB / 0.5585 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.018e-05/0.00792, allocations: 8 kB / 0.5585 GB, free: 12.59 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.008083, allocations: 71.8 kB / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.008086, allocations: 0 / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.008086, allocations: 0 / 0.5585 GB, free: 12.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.377e-06/0.00809, allocations: 0 / 0.5585 GB, free: 12.52 MB / 490.7 MB 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.0004047/0.008495, allocations: 258.3 kB / 0.5588 GB, free: 12.23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.008532, allocations: 12.75 kB / 0.5588 GB, free: 12.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.023e-05/0.008583, allocations: 8.859 kB / 0.5588 GB, free: 12.21 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/0.008707, allocations: 109.7 kB / 0.5589 GB, free: 12.08 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.074e-05/0.008788, allocations: 51.97 kB / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.117e-05/0.008799, allocations: 384 / 0.559 GB, free: 12.02 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.008949, allocations: 75.95 kB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.084e-06/0.008956, allocations: 192 / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.008969, allocations: 3.938 kB / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.008985, allocations: 0 / 0.559 GB, free: 11.93 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/0.009041, allocations: 19.98 kB / 0.5591 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004233/0.009464, allocations: 212.5 kB / 0.5593 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.326e-05/0.009507, allocations: 14.58 kB / 0.5593 GB, free: 11.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.086e-05/0.009528, allocations: 12.78 kB / 0.5593 GB, free: 11.63 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.513e-05/0.009583, allocations: 8.062 kB / 0.5593 GB, free: 11.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.009617, allocations: 34.56 kB / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.009618, allocations: 3.938 kB / 0.5593 GB, free: 11.58 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001538/0.009772, allocations: 41.64 kB / 0.5594 GB, free: 11.53 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/0.009817, allocations: 51.41 kB / 0.5594 GB, free: 11.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.009921, allocations: 101.8 kB / 0.5595 GB, free: 11.36 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.009946, allocations: 29.7 kB / 0.5596 GB, free: 11.32 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.937e-05/0.01002, allocations: 84.09 kB / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.769e-06/0.01002, allocations: 0 / 0.5596 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.9e-05/0.01006, allocations: 17.7 kB / 0.5596 GB, free: 11.21 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.01023, allocations: 318.8 kB / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.392e-05/0.01025, allocations: 128 / 0.56 GB, free: 10.89 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.01028, allocations: 25.88 kB / 0.56 GB, free: 10.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.203e-05/0.01032, allocations: 25.66 kB / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.01032, allocations: 0 / 0.56 GB, free: 10.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001/0.01042, allocations: 57.58 kB / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.01044, allocations: 4 kB / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.01044, allocations: 0 / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.01046, allocations: 0 / 0.5601 GB, free: 10.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.788e-05/0.01051, allocations: 11.94 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01051, allocations: 4.062 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.833e-05/0.01053, allocations: 0 / 0.5601 GB, free: 10.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.01054, allocations: 4 kB / 0.5601 GB, free: 10.75 MB / 490.7 MB 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 9.267e-05/0.01063, allocations: 109.8 kB / 0.5602 GB, free: 10.63 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.01066, allocations: 11.94 kB / 0.5602 GB, free: 10.62 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000128/0.01079, allocations: 109 kB / 0.5603 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001187/0.01091, allocations: 188.2 kB / 0.5605 GB, free: 10.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001002/0.01101, allocations: 180.2 kB / 0.5607 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001045/0.01112, allocations: 184.2 kB / 0.5608 GB, free: 9.934 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.01159, allocations: 352.9 kB / 0.5612 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.906e-05/0.01165, allocations: 109 kB / 0.5613 GB, free: 9.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.161e-05/0.01171, allocations: 104.9 kB / 0.5614 GB, free: 9.328 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001019/0.01182, allocations: 184.2 kB / 0.5615 GB, free: 9.141 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/0.01193, allocations: 184.2 kB / 0.5617 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001054/0.01204, allocations: 180.3 kB / 0.5619 GB, free: 8.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.39e-05/0.01213, allocations: 176.3 kB / 0.5621 GB, free: 8.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000211/0.01234, allocations: 315.7 kB / 0.5624 GB, free: 8.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.871e-05/0.01241, allocations: 108.9 kB / 0.5625 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.01253, allocations: 188.1 kB / 0.5626 GB, free: 7.953 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001813/0.01271, allocations: 113 kB / 0.5628 GB, free: 7.836 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.01282, allocations: 184.2 kB / 0.5629 GB, free: 7.648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.987e-05/0.01288, allocations: 101 kB / 0.563 GB, free: 7.543 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.837e-05/0.01295, allocations: 91.27 kB / 0.5631 GB, free: 7.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01295, allocations: 0 / 0.5631 GB, free: 7.453 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002667/0.01322, allocations: 12 kB / 0.5631 GB, free: 7.441 MB / 490.7 MB 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.0002143/0.01343, allocations: 186.5 kB / 0.5633 GB, free: 7.25 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 6.661e-05/0.0135, allocations: 15.94 kB / 0.5633 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.0135, allocations: 0 / 0.5633 GB, free: 7.234 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/0.0135, allocations: 4.109 kB / 0.5633 GB, free: 7.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005242/0.01403, allocations: 466.3 kB / 0.5638 GB, free: 6.773 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003094/0.01434, allocations: 180 kB / 0.5639 GB, free: 6.57 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.555e-05/0.0144, allocations: 55.36 kB / 0.564 GB, free: 6.496 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.542e-05/0.01445, allocations: 15.92 kB / 0.564 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.01447, allocations: 8.5 kB / 0.564 GB, free: 6.473 MB / 490.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01447, allocations: 4 kB / 0.564 GB, free: 6.469 MB / 490.7 MB Notification: Performance of Templates: time 0.003224/0.0177, allocations: 0.6844 MB / 0.5647 GB, free: 5.797 MB / 490.7 MB " [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.420693075982854]