Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 198.4 kB / 16.14 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 222.9 MB / 239.8 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 278.8 kB / 290.2 MB, free: 2.109 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9498/0.9498, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 89.52 kB / 0.5945 GB, free: 28.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1811, allocations: 86.98 MB / 0.6794 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.03699/0.2182, allocations: 35.64 MB / 0.7142 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01135/0.2296, allocations: 8.12 MB / 0.7222 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.2308, allocations: 27.81 kB / 0.7222 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.232, allocations: 354.1 kB / 0.7225 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00376/0.2357, allocations: 1.274 MB / 0.7238 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.239, allocations: 1.013 MB / 0.7248 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003638/0.2426, allocations: 2.821 MB / 0.7275 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001017/0.2437, allocations: 0.6067 MB / 0.7281 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001727/0.2454, allocations: 0.7778 MB / 0.7289 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008429/0.2463, allocations: 0.6145 MB / 0.7295 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.2464, allocations: 40 kB / 0.7295 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.2484, allocations: 0.7487 MB / 0.7302 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002032/0.2486, allocations: 167.3 kB / 0.7304 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005151/0.2492, allocations: 437.9 kB / 0.7308 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002134/0.2513, allocations: 1.5 MB / 0.7323 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2513, allocations: 3.938 kB / 0.7323 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2513, allocations: 0 / 0.7323 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.499e-05/0.2513, allocations: 0 / 0.7323 GB, free: 10.88 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002047/0.2534, allocations: 1.217 MB / 0.7335 GB, free: 9.598 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.2534, allocations: 12.03 kB / 0.7335 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.2559, allocations: 295.6 kB / 0.7338 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001234/0.2572, allocations: 0.7531 MB / 0.7345 GB, free: 8.508 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.563e-05/0.2572, allocations: 45.31 kB / 0.7345 GB, free: 8.465 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.2574, allocations: 56 kB / 0.7346 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001737/0.2591, allocations: 0.7954 MB / 0.7354 GB, free: 7.559 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.2591, allocations: 3.938 kB / 0.7354 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-05/0.2592, allocations: 27.98 kB / 0.7354 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.2592, allocations: 20 kB / 0.7354 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.2613, allocations: 0.6139 MB / 0.736 GB, free: 6.891 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004706/0.266, allocations: 3.946 MB / 0.7399 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001902/0.2679, allocations: 455.3 kB / 0.7403 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008057/0.2687, allocations: 204.7 kB / 0.7405 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006436/0.2694, allocations: 0.5259 MB / 0.741 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2694, allocations: 38.56 kB / 0.7411 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=26): time 2.134e-06/0.2694, allocations: 0 / 0.7411 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=26): time 0.003091/0.2725, allocations: 0.7761 MB / 0.7418 GB, free: 0.5195 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.2726, allocations: 110.8 kB / 0.7419 GB, free: 396 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007217/0.2733, allocations: 0.5743 MB / 0.7425 GB, free: 15.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.2734, allocations: 33.7 kB / 0.7425 GB, free: 15.76 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002658/0.2736, allocations: 387.7 kB / 0.7429 GB, free: 15.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.589e-05/0.2738, allocations: 94.64 kB / 0.743 GB, free: 15.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/0.2739, allocations: 106 kB / 0.7431 GB, free: 15.17 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2741, allocations: 366.7 kB / 0.7434 GB, free: 14.8 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008722/0.275, allocations: 200.7 kB / 0.7436 GB, free: 14.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009948/0.276, allocations: 359.4 kB / 0.744 GB, free: 14.2 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001792/0.2778, allocations: 0.5294 MB / 0.7445 GB, free: 13.61 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.2778, allocations: 4 kB / 0.7445 GB, free: 13.61 MB / 0.545 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002166/0.28, allocations: 0.6467 MB / 0.7451 GB, free: 12.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.28, allocations: 13.5 kB / 0.7451 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.28, allocations: 4 kB / 0.7451 GB, free: 12.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002594/0.2803, allocations: 60.83 kB / 0.7452 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007641/0.281, allocations: 140.2 kB / 0.7453 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004766/0.2815, allocations: 0.6264 MB / 0.7459 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.2824, allocations: 103.5 kB / 0.746 GB, free: 11.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.05e-05/0.2825, allocations: 31.97 kB / 0.7461 GB, free: 11.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0003446/0.2829, allocations: 218.3 kB / 0.7463 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.283, allocations: 71.19 kB / 0.7463 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/0.2852, allocations: 0.6206 MB / 0.7469 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2852, allocations: 4 kB / 0.7469 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2852, allocations: 0 / 0.7469 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001815/0.287, allocations: 0.6945 MB / 0.7476 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0028/0.2898, allocations: 1.297 MB / 0.7489 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.2898, allocations: 160 / 0.7489 GB, free: 8.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.2904, allocations: 75.91 kB / 0.749 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001905/0.2906, allocations: 56.81 kB / 0.749 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.569e-05/0.2906, allocations: 15.92 kB / 0.749 GB, free: 8.738 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004289/0.2911, allocations: 0.6225 MB / 0.7496 GB, free: 8.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2911, allocations: 4.078 kB / 0.7496 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.2939, allocations: 0.8931 MB / 0.7505 GB, free: 7.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/0.2942, allocations: 204.1 kB / 0.7507 GB, free: 6.941 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001435/0.2943, allocations: 12.12 kB / 0.7507 GB, free: 6.93 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008593/0.2952, allocations: 83.95 kB / 0.7508 GB, free: 6.848 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.2953, allocations: 23.91 kB / 0.7508 GB, free: 6.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.179e-05/0.2953, allocations: 23.97 kB / 0.7509 GB, free: 6.801 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005954/0.2959, allocations: 483 kB / 0.7513 GB, free: 6.332 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2959, allocations: 0 / 0.7513 GB, free: 6.332 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0008502/0.2968, allocations: 267.5 kB / 0.7516 GB, free: 6.07 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006719/0.2975, allocations: 313.8 kB / 0.7519 GB, free: 5.766 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001944/0.2994, allocations: 0.4884 MB / 0.7523 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2994, allocations: 0 / 0.7523 GB, free: 5.277 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0009321/0.3004, allocations: 232.8 kB / 0.7526 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.3022, allocations: 388 kB / 0.7529 GB, free: 4.68 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.3048, allocations: 1.532 MB / 0.7544 GB, free: 3.109 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.3052, allocations: 0.9216 MB / 0.7553 GB, free: 2.16 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0006316/0.3059, allocations: 152.6 kB / 0.7555 GB, free: 2.012 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.306, allocations: 71.33 kB / 0.7555 GB, free: 1.945 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.3061, allocations: 8 kB / 0.7556 GB, free: 1.938 MB / 0.545 GB Notification: Performance of Templates: time 0.02496/0.331, allocations: 15.54 MB / 0.7707 GB, free: 2.637 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)