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.001272/0.001272, allocations: 100.1 kB / 16.27 MB, free: 5.965 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.001449/0.001449, allocations: 191.5 kB / 17.2 MB, free: 5.594 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.422/1.422, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7829/0.7829, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 63.91 kB / 0.4911 GB, free: 7.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4298/0.4322, allocations: 77.92 MB / 0.5672 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05672/0.489, allocations: 61.16 MB / 0.6269 GB, free: 13.51 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01812/0.5072, allocations: 11.98 MB / 0.6386 GB, free: 1.484 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003001/0.5102, allocations: 59.62 kB / 0.6387 GB, free: 1.426 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.5125, allocations: 0.6869 MB / 0.6393 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005816/0.5183, allocations: 1.957 MB / 0.6413 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002997/0.5213, allocations: 1.201 MB / 0.6424 GB, free: 13.58 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004115/0.5254, allocations: 3.079 MB / 0.6454 GB, free: 10.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001517/0.527, allocations: 1.086 MB / 0.6465 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/0.53, allocations: 1.333 MB / 0.6478 GB, free: 8.035 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.5312, allocations: 0.9061 MB / 0.6487 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.5314, allocations: 116 kB / 0.6488 GB, free: 7.012 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002929/0.5344, allocations: 1.454 MB / 0.6502 GB, free: 5.555 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003037/0.5347, allocations: 282.9 kB / 0.6505 GB, free: 5.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008362/0.5355, allocations: 0.6997 MB / 0.6512 GB, free: 4.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003552/0.5391, allocations: 2.279 MB / 0.6534 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5391, allocations: 0 / 0.6534 GB, free: 2.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5391, allocations: 7.938 kB / 0.6534 GB, free: 2.281 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.682e-05/0.5391, allocations: 0 / 0.6534 GB, free: 2.281 MB / 494.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.003104/0.5422, allocations: 1.728 MB / 0.6551 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.5423, allocations: 8.625 kB / 0.6551 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.5441, allocations: 343 kB / 0.6554 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002254/0.5464, allocations: 1.093 MB / 0.6565 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003927/0.5468, allocations: 125.9 kB / 0.6566 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.547, allocations: 80 kB / 0.6567 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/0.5488, allocations: 0.9703 MB / 0.6576 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.334e-05/0.5488, allocations: 3.938 kB / 0.6576 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/0.5489, allocations: 35.94 kB / 0.6577 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.261e-05/0.5489, allocations: 23.98 kB / 0.6577 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.551, allocations: 0.804 MB / 0.6585 GB, free: 12.9 MB / 0.4981 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.007113/0.5581, allocations: 5.189 MB / 0.6635 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.56, allocations: 0.5665 MB / 0.6641 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006424/0.5606, allocations: 264.7 kB / 0.6644 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.5622, allocations: 1.373 MB / 0.6657 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.093e-05/0.5622, allocations: 38.48 kB / 0.6657 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 3.697e-06/0.5623, allocations: 4 kB / 0.6657 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.0072/0.5695, allocations: 1.668 MB / 0.6674 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.5695, allocations: 63.41 kB / 0.6674 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001596/0.5711, allocations: 1.076 MB / 0.6685 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-05/0.5712, allocations: 37.7 kB / 0.6685 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004361/0.5717, allocations: 0.5272 MB / 0.669 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001427/0.5718, allocations: 153.8 kB / 0.6692 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002112/0.572, allocations: 134.1 kB / 0.6693 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5722, allocations: 341.8 kB / 0.6696 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000766/0.573, allocations: 279.3 kB / 0.6699 GB, free: 456 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009554/0.5739, allocations: 0.5086 MB / 0.6704 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001415/0.5754, allocations: 0.6675 MB / 0.671 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5754, allocations: 4 kB / 0.671 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002508/0.5779, allocations: 0.9733 MB / 0.672 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.298e-05/0.5779, allocations: 8 kB / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5779, allocations: 4 kB / 0.672 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001317/0.5793, allocations: 308.7 kB / 0.6723 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/0.5797, allocations: 123.8 kB / 0.6724 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.5812, allocations: 0.9138 MB / 0.6733 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/0.5824, allocations: 151.2 kB / 0.6735 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.373e-05/0.5824, allocations: 24 kB / 0.6735 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001113/0.5836, allocations: 493.2 kB / 0.6739 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009614/0.5845, allocations: 0.497 MB / 0.6744 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001426/0.586, allocations: 0.6588 MB / 0.6751 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.447e-06/0.586, allocations: 0 / 0.6751 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002488/0.5885, allocations: 0.9694 MB / 0.676 GB, free: 9.785 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.5885, allocations: 8 kB / 0.676 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.5885, allocations: 4 kB / 0.676 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.5896, allocations: 308.6 kB / 0.6763 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.5901, allocations: 119.8 kB / 0.6764 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.5915, allocations: 0.9057 MB / 0.6773 GB, free: 8.422 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.5927, allocations: 139.4 kB / 0.6775 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.481e-05/0.5928, allocations: 32 kB / 0.6775 GB, free: 8.254 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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.0002618/0.593, allocations: 220.1 kB / 0.6777 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.5932, allocations: 106.7 kB / 0.6778 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.5963, allocations: 1.027 MB / 0.6788 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.5963, allocations: 8 kB / 0.6788 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5963, allocations: 0 / 0.6788 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.5963, allocations: 7.984 kB / 0.6788 GB, free: 6.879 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.6012, allocations: 2.083 MB / 0.6809 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.6012, allocations: 4 kB / 0.6809 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/0.6014, allocations: 51.91 kB / 0.6809 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001077/0.6025, allocations: 315.1 kB / 0.6812 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.6026, allocations: 12 kB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.6042, allocations: 0.9424 MB / 0.6821 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.6042, allocations: 4 kB / 0.6821 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003593/0.6078, allocations: 1.105 MB / 0.6832 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005494/0.6084, allocations: 259.5 kB / 0.6835 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001492/0.6085, allocations: 16 kB / 0.6835 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007552/0.6093, allocations: 67.92 kB / 0.6836 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.568e-05/0.6094, allocations: 39.83 kB / 0.6836 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.959e-05/0.6094, allocations: 23.98 kB / 0.6836 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001342/0.6108, allocations: 0.7551 MB / 0.6844 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6108, allocations: 0 / 0.6844 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001801/0.6126, allocations: 0.5809 MB / 0.6849 GB, free: 464 kB / 0.5137 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.00094/0.6136, allocations: 402.4 kB / 0.6853 GB, free: 68 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003046/0.6166, allocations: 1.058 MB / 0.6863 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.6166, allocations: 3.938 kB / 0.6863 GB, free: 15 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.6175, allocations: 326.9 kB / 0.6867 GB, free: 14.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.6199, allocations: 0.504 MB / 0.6871 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003627/0.6235, allocations: 1.84 MB / 0.6889 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006817/0.6242, allocations: 1.061 MB / 0.69 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009046/0.6251, allocations: 229.2 kB / 0.6902 GB, free: 11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.6253, allocations: 75.42 kB / 0.6903 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of SimCode: time 8.02e-07/0.6253, allocations: 0 / 0.6903 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of Templates: time 0.04311/0.6685, allocations: 25.09 MB / 0.7148 GB, free: 2.141 MB / 0.545 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)