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.0007939/0.000794, allocations: 93.73 kB / 16.02 MB, free: 84 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.001227/0.001228, allocations: 172.8 kB / 16.91 MB, free: 6.68 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7102/0.7102, allocations: 115.5 MB / 407.6 MB, free: 2.648 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003128/0.0003128, allocations: 8 kB / 495.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 77.52 MB / 0.5599 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.3807/0.5718, allocations: 59.7 MB / 0.6182 GB, free: 15.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01821/0.5901, allocations: 11.92 MB / 0.6299 GB, free: 7.137 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002887/0.593, allocations: 52.66 kB / 0.6299 GB, free: 7.113 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002104/0.5952, allocations: 0.5424 MB / 0.6304 GB, free: 6.789 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006296/0.6015, allocations: 1.808 MB / 0.6322 GB, free: 5.707 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003664/0.6052, allocations: 1.081 MB / 0.6333 GB, free: 5.023 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00598/0.6111, allocations: 3.894 MB / 0.6371 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001883/0.6131, allocations: 0.9041 MB / 0.6379 GB, free: 2.273 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003076/0.6161, allocations: 1.117 MB / 0.639 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001867/0.618, allocations: 0.8614 MB / 0.6399 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001294/0.6182, allocations: 43.09 kB / 0.6399 GB, free: 1.125 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.621, allocations: 1.347 MB / 0.6412 GB, free: 368 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.6213, allocations: 216.4 kB / 0.6414 GB, free: 204 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007635/0.622, allocations: 0.6227 MB / 0.6421 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003062/0.6251, allocations: 2.206 MB / 0.6442 GB, free: 14.36 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6251, allocations: 4 kB / 0.6442 GB, free: 14.35 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6251, allocations: 0 / 0.6442 GB, free: 14.35 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.037e-05/0.6252, allocations: 0 / 0.6442 GB, free: 14.35 MB / 478.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.002727/0.6279, allocations: 1.492 MB / 0.6457 GB, free: 13.18 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6279, allocations: 9.844 kB / 0.6457 GB, free: 13.18 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.6296, allocations: 380.4 kB / 0.646 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002041/0.6317, allocations: 1.134 MB / 0.6471 GB, free: 12.1 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003461/0.632, allocations: 125.8 kB / 0.6473 GB, free: 12.05 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6321, allocations: 78.88 kB / 0.6473 GB, free: 12.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.634, allocations: 0.9739 MB / 0.6483 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.634, allocations: 3.938 kB / 0.6483 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.964e-05/0.6341, allocations: 32.72 kB / 0.6483 GB, free: 11.39 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.6342, allocations: 23.5 kB / 0.6483 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001985/0.6361, allocations: 0.8423 MB / 0.6492 GB, free: 10.99 MB / 478.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.006715/0.6429, allocations: 4.807 MB / 0.6539 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/0.6445, allocations: 0.601 MB / 0.6545 GB, free: 5.402 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006345/0.6451, allocations: 282.3 kB / 0.6547 GB, free: 5.125 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.6466, allocations: 1.396 MB / 0.6561 GB, free: 3.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.6466, allocations: 38.55 kB / 0.6561 GB, free: 3.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=43): time 4.178e-06/0.6466, allocations: 0 / 0.6561 GB, free: 3.387 MB / 478.1 MB Notification: Performance of matching and sorting (n=43): time 0.007309/0.654, allocations: 1.857 MB / 0.6579 GB, free: 1.5 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.89e-05/0.654, allocations: 55.41 kB / 0.658 GB, free: 1.434 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/0.6557, allocations: 1.059 MB / 0.659 GB, free: 368 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.613e-05/0.6558, allocations: 33.7 kB / 0.6591 GB, free: 328 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.6562, allocations: 0.5274 MB / 0.6596 GB, free: 15.79 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.6563, allocations: 153.7 kB / 0.6597 GB, free: 15.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.699e-05/0.6564, allocations: 45.69 kB / 0.6598 GB, free: 15.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.6565, allocations: 337.9 kB / 0.6601 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000752/0.6573, allocations: 281 kB / 0.6603 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009716/0.6583, allocations: 0.4905 MB / 0.6608 GB, free: 14.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.6597, allocations: 0.6585 MB / 0.6615 GB, free: 13.69 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6597, allocations: 0 / 0.6615 GB, free: 13.69 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002509/0.6622, allocations: 0.9805 MB / 0.6624 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001624/0.6624, allocations: 208.3 kB / 0.6626 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6624, allocations: 7.984 kB / 0.6626 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.6638, allocations: 332.7 kB / 0.663 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004526/0.6643, allocations: 107.8 kB / 0.6631 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/0.6658, allocations: 0.9475 MB / 0.664 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6671, allocations: 182.6 kB / 0.6642 GB, free: 10.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.6672, allocations: 28 kB / 0.6642 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/0.6672, allocations: 4 kB / 0.6642 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002386/0.6696, allocations: 0.855 MB / 0.665 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.6696, allocations: 4 kB / 0.665 GB, free: 9.953 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001109/0.6707, allocations: 322.1 kB / 0.6653 GB, free: 9.637 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.6712, allocations: 111.8 kB / 0.6654 GB, free: 9.527 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001448/0.6726, allocations: 0.9373 MB / 0.6664 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001256/0.6739, allocations: 164.7 kB / 0.6665 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-05/0.674, allocations: 31.98 kB / 0.6665 GB, free: 8.375 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 (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.0006486/0.6746, allocations: 349 kB / 0.6669 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001903/0.6748, allocations: 110.7 kB / 0.667 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003109/0.6779, allocations: 1.076 MB / 0.668 GB, free: 6.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.678, allocations: 4 kB / 0.668 GB, free: 6.828 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.293e-06/0.678, allocations: 4 kB / 0.668 GB, free: 6.824 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.678, allocations: 7.984 kB / 0.668 GB, free: 6.816 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005072/0.6831, allocations: 2.173 MB / 0.6702 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.6831, allocations: 0 / 0.6702 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/0.6833, allocations: 59.91 kB / 0.6702 GB, free: 4.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001079/0.6844, allocations: 334.7 kB / 0.6705 GB, free: 4.172 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.6845, allocations: 12 kB / 0.6706 GB, free: 4.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001534/0.686, allocations: 0.9698 MB / 0.6715 GB, free: 3.164 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.686, allocations: 4.031 kB / 0.6715 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/0.6896, allocations: 1.187 MB / 0.6727 GB, free: 1.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005736/0.6902, allocations: 279.4 kB / 0.6729 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001241/0.6903, allocations: 11.98 kB / 0.6729 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008499/0.6912, allocations: 99.91 kB / 0.673 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.717e-05/0.6913, allocations: 43.77 kB / 0.6731 GB, free: 1.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.6913, allocations: 23.98 kB / 0.6731 GB, free: 1.457 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001199/0.6925, allocations: 0.743 MB / 0.6738 GB, free: 0.707 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6925, allocations: 0 / 0.6738 GB, free: 0.707 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001612/0.6942, allocations: 0.5652 MB / 0.6744 GB, free: 144 kB / 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 (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.00086/0.695, allocations: 409.1 kB / 0.6748 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002869/0.6979, allocations: 1.059 MB / 0.6758 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6979, allocations: 4 kB / 0.6758 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007895/0.6987, allocations: 331 kB / 0.6761 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.7016, allocations: 0.5005 MB / 0.6766 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/0.7054, allocations: 2.273 MB / 0.6788 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006881/0.7061, allocations: 1.062 MB / 0.6799 GB, free: 10.45 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009151/0.707, allocations: 216.6 kB / 0.6801 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001763/0.7072, allocations: 75.42 kB / 0.6801 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of SimCode: time 1.212e-06/0.7072, allocations: 0 / 0.6801 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of Templates: time 0.04506/0.7523, allocations: 24.02 MB / 0.7036 GB, free: 2.422 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)