Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 109.5 kB / 16.41 MB, free: 6.496 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.001192/0.001192, allocations: 191.9 kB / 17.34 MB, free: 5.762 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.349/1.349, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7276/0.7276, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 66.88 kB / 0.5577 GB, free: 32.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.1488, allocations: 76.19 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07214/0.221, allocations: 70.42 MB / 0.7008 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02687/0.2479, allocations: 18.93 MB / 0.7193 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003046/0.251, allocations: 71.56 kB / 0.7194 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002806/0.2538, allocations: 0.8385 MB / 0.7202 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009152/0.263, allocations: 3.009 MB / 0.7231 GB, free: 6.812 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004735/0.2678, allocations: 1.654 MB / 0.7248 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006977/0.2748, allocations: 4.068 MB / 0.7287 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002486/0.2773, allocations: 1.453 MB / 0.7302 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004766/0.2821, allocations: 1.815 MB / 0.7319 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.2845, allocations: 1.175 MB / 0.7331 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003075/0.2848, allocations: 176 kB / 0.7332 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.288, allocations: 1.419 MB / 0.7346 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.2884, allocations: 382.6 kB / 0.735 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.2896, allocations: 0.9255 MB / 0.7359 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.2942, allocations: 3.097 MB / 0.7389 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2942, allocations: 0 / 0.7389 GB, free: 6.602 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.947e-06/0.2943, allocations: 4 kB / 0.7389 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.2943, allocations: 0 / 0.7389 GB, free: 6.598 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003971/0.2983, allocations: 2.023 MB / 0.7409 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2983, allocations: 12.03 kB / 0.7409 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002415/0.3008, allocations: 450.4 kB / 0.7413 GB, free: 4.059 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.3036, allocations: 1.555 MB / 0.7429 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.991e-05/0.3037, allocations: 78.03 kB / 0.7429 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.3039, allocations: 104 kB / 0.743 GB, free: 2.266 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.3066, allocations: 1.313 MB / 0.7443 GB, free: 0.8438 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.36e-05/0.3066, allocations: 3.938 kB / 0.7443 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000105/0.3067, allocations: 44 kB / 0.7444 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.594e-05/0.3068, allocations: 28 kB / 0.7444 GB, free: 0.7695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3362/0.6429, allocations: 1.097 MB / 0.7455 GB, free: 109.8 MB / 0.5762 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.009479/0.6524, allocations: 7.49 MB / 0.7528 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.6558, allocations: 0.8061 MB / 0.7536 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.6565, allocations: 289.5 kB / 0.7538 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009172/0.6575, allocations: 1.719 MB / 0.7555 GB, free: 102.4 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.6575, allocations: 38.8 kB / 0.7556 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.665e-06/0.6575, allocations: 0 / 0.7556 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.005198/0.6627, allocations: 1.329 MB / 0.7568 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.6628, allocations: 58.38 kB / 0.7569 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002669/0.6654, allocations: 1.547 MB / 0.7584 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/0.6655, allocations: 42.7 kB / 0.7585 GB, free: 101.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004779/0.666, allocations: 0.673 MB / 0.7591 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.6662, allocations: 172.3 kB / 0.7593 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002752/0.6665, allocations: 169.9 kB / 0.7594 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.844e-05/0.6665, allocations: 338 kB / 0.7598 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009667/0.6675, allocations: 369.4 kB / 0.7601 GB, free: 99.94 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001149/0.6687, allocations: 0.6614 MB / 0.7608 GB, free: 99.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001747/0.6704, allocations: 0.8833 MB / 0.7616 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.6704, allocations: 3.5 kB / 0.7616 GB, free: 98.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003449/0.6739, allocations: 1.19 MB / 0.7628 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.6739, allocations: 11.66 kB / 0.7628 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/0.674, allocations: 8.297 kB / 0.7628 GB, free: 98.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.6751, allocations: 225.1 kB / 0.763 GB, free: 98.41 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009487/0.676, allocations: 196 kB / 0.7632 GB, free: 98.39 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000859/0.6769, allocations: 0.7187 MB / 0.7639 GB, free: 97.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.6786, allocations: 212.1 kB / 0.7641 GB, free: 97.72 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.553e-05/0.6787, allocations: 44.2 kB / 0.7642 GB, free: 97.71 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.6793, allocations: 357.4 kB / 0.7645 GB, free: 97.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.6796, allocations: 156.5 kB / 0.7646 GB, free: 97.37 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00242/0.682, allocations: 1.13 MB / 0.7657 GB, free: 96.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.54e-05/0.682, allocations: 17.77 kB / 0.7658 GB, free: 96.92 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6821, allocations: 0.5 kB / 0.7658 GB, free: 96.92 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.598e-06/0.6821, allocations: 5.953 kB / 0.7658 GB, free: 96.92 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.6873, allocations: 2.508 MB / 0.7682 GB, free: 95.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.6873, allocations: 1 kB / 0.7682 GB, free: 95.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003666/0.6877, allocations: 89.44 kB / 0.7683 GB, free: 95.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007566/0.6885, allocations: 214.5 kB / 0.7685 GB, free: 95.3 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.007e-05/0.6885, allocations: 14.84 kB / 0.7685 GB, free: 95.29 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.6897, allocations: 0.774 MB / 0.7693 GB, free: 94.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.6897, allocations: 4.766 kB / 0.7693 GB, free: 94.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003393/0.6931, allocations: 1.205 MB / 0.7705 GB, free: 93.91 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005969/0.6938, allocations: 358.4 kB / 0.7708 GB, free: 93.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002227/0.694, allocations: 8.188 kB / 0.7708 GB, free: 93.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009084/0.6949, allocations: 77.97 kB / 0.7709 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.738e-05/0.695, allocations: 36.2 kB / 0.7709 GB, free: 93.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/0.6951, allocations: 25.52 kB / 0.7709 GB, free: 93.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001712/0.6968, allocations: 1.09 MB / 0.772 GB, free: 92.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6968, allocations: 0 / 0.772 GB, free: 92.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001478/0.6983, allocations: 447.4 kB / 0.7724 GB, free: 92.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008329/0.6991, allocations: 475.8 kB / 0.7729 GB, free: 92.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002261/0.7014, allocations: 0.8472 MB / 0.7737 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.7014, allocations: 0 / 0.7737 GB, free: 92.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001203/0.7026, allocations: 438.2 kB / 0.7741 GB, free: 92.07 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003247/0.7059, allocations: 0.7459 MB / 0.7749 GB, free: 91.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003306/0.7092, allocations: 2.25 MB / 0.7771 GB, free: 90.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.7097, allocations: 1.178 MB / 0.7782 GB, free: 89.44 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009368/0.7106, allocations: 263.6 kB / 0.7785 GB, free: 89.32 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.7109, allocations: 122.2 kB / 0.7786 GB, free: 89.29 MB / 0.5762 GB Notification: Performance of SimCode: time 8.02e-07/0.7109, allocations: 0 / 0.7786 GB, free: 89.29 MB / 0.5762 GB Notification: Performance of Templates: time 0.04151/0.7524, allocations: 31.75 MB / 0.8096 GB, free: 58.96 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)