Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") translateModel(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001063/0.001063, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 176.8 kB / 16.58 MB, free: 6.852 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.368/1.368, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7044/0.7044, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000343/0.0003431, allocations: 8 kB / 495.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.173, allocations: 77.52 MB / 0.5593 GB, free: 9.434 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3966/0.5697, allocations: 56.45 MB / 0.6144 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01677/0.5865, allocations: 11.22 MB / 0.6254 GB, free: 10.39 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.5887, allocations: 53.06 kB / 0.6254 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001539/0.5903, allocations: 463.9 kB / 0.6259 GB, free: 10.11 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004647/0.5949, allocations: 1.532 MB / 0.6274 GB, free: 9.219 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002958/0.5979, allocations: 0.8593 MB / 0.6282 GB, free: 8.816 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004825/0.6027, allocations: 3.392 MB / 0.6315 GB, free: 6.965 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.6042, allocations: 0.7905 MB / 0.6323 GB, free: 6.465 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002261/0.6064, allocations: 1.041 MB / 0.6333 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.6078, allocations: 0.8016 MB / 0.6341 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.6079, allocations: 41.69 kB / 0.6341 GB, free: 5.422 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002514/0.6104, allocations: 1.114 MB / 0.6352 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.6107, allocations: 196.3 kB / 0.6354 GB, free: 4.672 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.611, allocations: 286.2 kB / 0.6357 GB, free: 4.504 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.6129, allocations: 1.647 MB / 0.6373 GB, free: 3.422 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.6129, allocations: 0.875 kB / 0.6373 GB, free: 3.422 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.6129, allocations: 0 / 0.6373 GB, free: 3.422 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.6129, allocations: 0.7188 kB / 0.6373 GB, free: 3.422 MB / 462.1 MB 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.002413/0.6153, allocations: 1.506 MB / 0.6388 GB, free: 2.25 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.6154, allocations: 9.875 kB / 0.6388 GB, free: 2.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001502/0.6169, allocations: 376.7 kB / 0.6391 GB, free: 2.098 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.6188, allocations: 1.084 MB / 0.6402 GB, free: 1.223 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003223/0.6191, allocations: 135.2 kB / 0.6403 GB, free: 1.168 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000106/0.6192, allocations: 82.75 kB / 0.6404 GB, free: 1.141 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.621, allocations: 0.9622 MB / 0.6414 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.655e-05/0.6211, allocations: 1.125 kB / 0.6414 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.88e-05/0.6212, allocations: 31.81 kB / 0.6414 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.6212, allocations: 20.06 kB / 0.6414 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/0.6231, allocations: 0.8412 MB / 0.6422 GB, free: 112 kB / 462.1 MB 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.005861/0.629, allocations: 4.801 MB / 0.6469 GB, free: 11.82 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.6304, allocations: 0.6074 MB / 0.6475 GB, free: 11.53 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/0.631, allocations: 275.4 kB / 0.6478 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/0.6323, allocations: 1.39 MB / 0.6491 GB, free: 9.836 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.536e-05/0.6324, allocations: 37.84 kB / 0.6492 GB, free: 9.793 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.6324, allocations: 0 / 0.6492 GB, free: 9.793 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.00632/0.6387, allocations: 1.853 MB / 0.651 GB, free: 8.492 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.6388, allocations: 59.36 kB / 0.651 GB, free: 8.422 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001552/0.6403, allocations: 1.051 MB / 0.6521 GB, free: 7.355 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.851e-05/0.6404, allocations: 37.64 kB / 0.6521 GB, free: 7.312 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.6408, allocations: 0.5196 MB / 0.6526 GB, free: 6.789 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.641, allocations: 145.9 kB / 0.6527 GB, free: 6.645 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.641, allocations: 8 kB / 0.6527 GB, free: 6.637 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6411, allocations: 334 kB / 0.6531 GB, free: 6.305 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.6418, allocations: 273 kB / 0.6533 GB, free: 6.039 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/0.6427, allocations: 494.2 kB / 0.6538 GB, free: 5.48 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007491/0.6435, allocations: 327.3 kB / 0.6541 GB, free: 5.16 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.6435, allocations: 4 kB / 0.6541 GB, free: 5.156 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002265/0.6458, allocations: 0.9613 MB / 0.655 GB, free: 4.184 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/0.6459, allocations: 216.1 kB / 0.6553 GB, free: 3.914 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.6459, allocations: 4 kB / 0.6553 GB, free: 3.91 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001202/0.6471, allocations: 326.8 kB / 0.6556 GB, free: 3.59 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.6476, allocations: 111.9 kB / 0.6557 GB, free: 3.48 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.649, allocations: 0.9425 MB / 0.6566 GB, free: 2.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.6501, allocations: 175.3 kB / 0.6568 GB, free: 2.34 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.059e-05/0.6502, allocations: 28.86 kB / 0.6568 GB, free: 2.312 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/0.6502, allocations: 4 kB / 0.6568 GB, free: 2.309 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002062/0.6523, allocations: 0.8473 MB / 0.6576 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.6523, allocations: 4 kB / 0.6576 GB, free: 1.453 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6534, allocations: 331 kB / 0.6579 GB, free: 1.129 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004235/0.6538, allocations: 111.8 kB / 0.658 GB, free: 1.02 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001311/0.6551, allocations: 0.9386 MB / 0.659 GB, free: 56 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.6562, allocations: 158.9 kB / 0.6591 GB, free: 15.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.789e-05/0.6563, allocations: 31.98 kB / 0.6591 GB, free: 15.87 MB / 494.1 MB 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005109/0.6568, allocations: 348.9 kB / 0.6595 GB, free: 15.52 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.657, allocations: 122.6 kB / 0.6596 GB, free: 15.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002874/0.6599, allocations: 1.068 MB / 0.6606 GB, free: 14.32 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6599, allocations: 11.98 kB / 0.6607 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6599, allocations: 0 / 0.6607 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.6599, allocations: 0 / 0.6607 GB, free: 14.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/0.6646, allocations: 2.173 MB / 0.6628 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.6647, allocations: 4 kB / 0.6628 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6649, allocations: 55.91 kB / 0.6628 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009698/0.6659, allocations: 326.9 kB / 0.6631 GB, free: 11.67 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/0.6659, allocations: 11.98 kB / 0.6632 GB, free: 11.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001397/0.6673, allocations: 0.9699 MB / 0.6641 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6673, allocations: 4 kB / 0.6641 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.6705, allocations: 1.188 MB / 0.6653 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005039/0.671, allocations: 279.4 kB / 0.6655 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001761/0.6712, allocations: 12 kB / 0.6655 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/0.672, allocations: 107.8 kB / 0.6656 GB, free: 9.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.378e-05/0.6721, allocations: 39.83 kB / 0.6657 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.231e-05/0.6722, allocations: 20 kB / 0.6657 GB, free: 8.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.6734, allocations: 0.7352 MB / 0.6664 GB, free: 8.215 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6734, allocations: 0 / 0.6664 GB, free: 8.215 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001705/0.6751, allocations: 0.5692 MB / 0.667 GB, free: 7.645 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008475/0.676, allocations: 404.5 kB / 0.6674 GB, free: 7.258 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002727/0.6787, allocations: 1.051 MB / 0.6684 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.6787, allocations: 0 / 0.6684 GB, free: 6.207 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007976/0.6795, allocations: 330.5 kB / 0.6687 GB, free: 5.887 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00245/0.682, allocations: 0.4941 MB / 0.6692 GB, free: 5.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.6859, allocations: 2.216 MB / 0.6714 GB, free: 3.117 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.6866, allocations: 1.065 MB / 0.6724 GB, free: 2.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001006/0.6876, allocations: 208.7 kB / 0.6726 GB, free: 1.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001937/0.6878, allocations: 79.42 kB / 0.6727 GB, free: 1.738 MB / 494.1 MB Notification: Performance of SimCode: time 6.01e-07/0.6878, allocations: 0 / 0.6727 GB, free: 1.738 MB / 494.1 MB Notification: Performance of Templates: time 0.04053/0.7284, allocations: 23.14 MB / 0.6953 GB, free: 10.88 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)