Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 108.4 kB / 16.4 MB, free: 6.465 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.001103/0.001103, allocations: 193.3 kB / 17.34 MB, free: 5.719 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.243/1.243, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6718/0.6718, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 64.19 kB / 0.5577 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1314/0.1325, allocations: 76.18 MB / 0.6321 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.0529/0.1854, allocations: 61.13 MB / 0.6918 GB, free: 7.07 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.2003, allocations: 11.99 MB / 0.7035 GB, free: 11.05 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001557/0.2019, allocations: 59.62 kB / 0.7035 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/0.2034, allocations: 0.6791 MB / 0.7042 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00458/0.208, allocations: 1.963 MB / 0.7061 GB, free: 8.332 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002693/0.2107, allocations: 1.211 MB / 0.7073 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003713/0.2144, allocations: 3.089 MB / 0.7103 GB, free: 4.031 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2158, allocations: 1.088 MB / 0.7114 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0027/0.2185, allocations: 1.362 MB / 0.7127 GB, free: 1.539 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.2197, allocations: 0.8965 MB / 0.7136 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.2199, allocations: 116 kB / 0.7137 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002385/0.2223, allocations: 1.443 MB / 0.7151 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002625/0.2226, allocations: 290.9 kB / 0.7154 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006187/0.2232, allocations: 0.6958 MB / 0.716 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.2258, allocations: 2.287 MB / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2258, allocations: 0 / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2258, allocations: 0 / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.874e-05/0.2259, allocations: 0 / 0.7183 GB, free: 11.8 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002684/0.2286, allocations: 1.73 MB / 0.72 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2286, allocations: 12.03 kB / 0.72 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00207/0.2307, allocations: 410.8 kB / 0.7204 GB, free: 9.602 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001915/0.2326, allocations: 1.163 MB / 0.7215 GB, free: 8.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.2327, allocations: 61.98 kB / 0.7216 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2328, allocations: 80 kB / 0.7216 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.2346, allocations: 1.003 MB / 0.7226 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.2347, allocations: 0 / 0.7226 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.512e-05/0.2347, allocations: 32 kB / 0.7227 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.2348, allocations: 24 kB / 0.7227 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.2368, allocations: 0.8468 MB / 0.7235 GB, free: 6.281 MB / 0.5606 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.005735/0.2426, allocations: 5.23 MB / 0.7286 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003183/0.2458, allocations: 0.786 MB / 0.7294 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006593/0.2464, allocations: 288.7 kB / 0.7297 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005896/0.247, allocations: 0.9102 MB / 0.7305 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.2471, allocations: 42.5 kB / 0.7306 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.034e-06/0.2471, allocations: 0 / 0.7306 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.006567/0.2537, allocations: 1.696 MB / 0.7322 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.2537, allocations: 59.41 kB / 0.7323 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.2551, allocations: 1.076 MB / 0.7333 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.021e-05/0.2552, allocations: 33.7 kB / 0.7334 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004248/0.2557, allocations: 0.5351 MB / 0.7339 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.2558, allocations: 153.8 kB / 0.734 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/0.256, allocations: 138.1 kB / 0.7342 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2562, allocations: 329.9 kB / 0.7345 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008257/0.257, allocations: 311.3 kB / 0.7348 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009672/0.258, allocations: 0.5212 MB / 0.7353 GB, free: 9.422 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.2595, allocations: 0.7097 MB / 0.736 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2595, allocations: 0 / 0.736 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002434/0.262, allocations: 1.012 MB / 0.737 GB, free: 7.617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.262, allocations: 8 kB / 0.737 GB, free: 7.609 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.262, allocations: 12.03 kB / 0.737 GB, free: 7.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.2631, allocations: 303.4 kB / 0.7373 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005258/0.2637, allocations: 139.7 kB / 0.7374 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.265, allocations: 0.8918 MB / 0.7383 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.2661, allocations: 155.2 kB / 0.7384 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.2662, allocations: 31.98 kB / 0.7385 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001121/0.2673, allocations: 0.5051 MB / 0.739 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001048/0.2684, allocations: 0.5251 MB / 0.7395 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001545/0.2699, allocations: 0.7101 MB / 0.7402 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.789e-06/0.2699, allocations: 4 kB / 0.7402 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002509/0.2724, allocations: 1 MB / 0.7412 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.2725, allocations: 8 kB / 0.7412 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.2725, allocations: 4 kB / 0.7412 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009925/0.2735, allocations: 296.6 kB / 0.7414 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005185/0.274, allocations: 123.8 kB / 0.7416 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.2754, allocations: 0.9087 MB / 0.7425 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.2764, allocations: 123.6 kB / 0.7426 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.007e-05/0.2765, allocations: 36 kB / 0.7426 GB, free: 1.617 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.2767, allocations: 220.2 kB / 0.7428 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.2769, allocations: 118.6 kB / 0.7429 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.2791, allocations: 0.9261 MB / 0.7438 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2791, allocations: 4 kB / 0.7438 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2791, allocations: 0 / 0.7438 GB, free: 336 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.2791, allocations: 3.984 kB / 0.7438 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.31/0.5891, allocations: 2.133 MB / 0.7459 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5892, allocations: 2.344 kB / 0.7459 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002872/0.5895, allocations: 65.2 kB / 0.746 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/0.5905, allocations: 287.5 kB / 0.7463 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.643e-05/0.5905, allocations: 16.95 kB / 0.7463 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.5918, allocations: 0.9317 MB / 0.7472 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/0.5919, allocations: 2.5 kB / 0.7472 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003606/0.5955, allocations: 1.142 MB / 0.7483 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004117/0.5959, allocations: 263.8 kB / 0.7486 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.596, allocations: 11.06 kB / 0.7486 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007884/0.5968, allocations: 72.92 kB / 0.7486 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.773e-05/0.5969, allocations: 41.92 kB / 0.7487 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-05/0.597, allocations: 23.19 kB / 0.7487 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001344/0.5983, allocations: 0.7562 MB / 0.7494 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5984, allocations: 0 / 0.7494 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001778/0.6001, allocations: 0.5669 MB / 0.75 GB, free: 107.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008977/0.601, allocations: 383 kB / 0.7504 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003115/0.6042, allocations: 1.12 MB / 0.7514 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6042, allocations: 0.7188 kB / 0.7514 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007908/0.605, allocations: 348.2 kB / 0.7518 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/0.607, allocations: 0.5043 MB / 0.7523 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004807/0.6118, allocations: 2.018 MB / 0.7542 GB, free: 106 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007189/0.6126, allocations: 1.068 MB / 0.7553 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008453/0.6134, allocations: 232.1 kB / 0.7555 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.6136, allocations: 74 kB / 0.7556 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of SimCode: time 3.31e-07/0.6137, allocations: 0 / 0.7556 GB, free: 105.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.03335/0.647, allocations: 25 MB / 0.78 GB, free: 89.2 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)