Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.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.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y") translateModel(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 104.8 kB / 16.64 MB, free: 6.816 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.001272/0.001272, allocations: 194 kB / 17.57 MB, free: 5.918 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.337/1.337, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7955/0.7955, allocations: 122.9 MB / 414.2 MB, free: 15.99 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 55.91 kB / 0.4912 GB, free: 7.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3882, allocations: 77.92 MB / 0.5673 GB, free: 31.93 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.06318/0.4515, allocations: 74.73 MB / 0.6403 GB, free: 88 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01786/0.4694, allocations: 12.7 MB / 0.6527 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003209/0.4726, allocations: 59.62 kB / 0.6528 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003035/0.4757, allocations: 0.7229 MB / 0.6535 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00745/0.4832, allocations: 2.309 MB / 0.6557 GB, free: 260 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00358/0.4868, allocations: 1.283 MB / 0.657 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005814/0.4926, allocations: 4.448 MB / 0.6613 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.4946, allocations: 1.431 MB / 0.6627 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003709/0.4984, allocations: 1.646 MB / 0.6643 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.5, allocations: 1.252 MB / 0.6656 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002239/0.5002, allocations: 168 kB / 0.6657 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002817/0.5031, allocations: 1.419 MB / 0.6671 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003766/0.5034, allocations: 406.5 kB / 0.6675 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009793/0.5044, allocations: 0.9138 MB / 0.6684 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002753/0.5072, allocations: 2.253 MB / 0.6706 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.5072, allocations: 0 / 0.6706 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.373e-06/0.5072, allocations: 0 / 0.6706 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.857e-05/0.5072, allocations: 0 / 0.6706 GB, free: 0.9922 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003528/0.5108, allocations: 2.106 MB / 0.6726 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5108, allocations: 12.62 kB / 0.6726 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007912/0.5116, allocations: 230.8 kB / 0.6729 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.5144, allocations: 1.505 MB / 0.6743 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.631e-05/0.5145, allocations: 81.92 kB / 0.6744 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001908/0.5147, allocations: 103.9 kB / 0.6745 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002623/0.5173, allocations: 1.1 MB / 0.6756 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.5174, allocations: 4 kB / 0.6756 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.5175, allocations: 40 kB / 0.6756 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.5175, allocations: 24 kB / 0.6757 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001857/0.5194, allocations: 0.8822 MB / 0.6765 GB, free: 10.75 MB / 0.5137 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.00605/0.5254, allocations: 4.925 MB / 0.6813 GB, free: 5.539 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.5267, allocations: 0.6042 MB / 0.6819 GB, free: 4.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006511/0.5274, allocations: 342.3 kB / 0.6822 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006508/0.5281, allocations: 0.8277 MB / 0.6831 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/0.5281, allocations: 43.06 kB / 0.6831 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.845e-06/0.5281, allocations: 0 / 0.6831 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007129/0.5353, allocations: 1.705 MB / 0.6848 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.5353, allocations: 63.97 kB / 0.6848 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/0.5371, allocations: 1.239 MB / 0.686 GB, free: 476 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.355e-05/0.5372, allocations: 37.7 kB / 0.6861 GB, free: 432 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/0.5378, allocations: 0.6144 MB / 0.6867 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.538, allocations: 209 kB / 0.6869 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002618/0.5383, allocations: 158.5 kB / 0.687 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.5384, allocations: 330 kB / 0.6873 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006555/0.5391, allocations: 296.6 kB / 0.6876 GB, free: 14.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008634/0.54, allocations: 0.4888 MB / 0.6881 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001399/0.5414, allocations: 0.6973 MB / 0.6888 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5414, allocations: 4 kB / 0.6888 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004676/0.5461, allocations: 1.269 MB / 0.69 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/0.5461, allocations: 11.94 kB / 0.69 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.5461, allocations: 4 kB / 0.69 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000618/0.5468, allocations: 149 kB / 0.6902 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.5474, allocations: 151.8 kB / 0.6903 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008165/0.5482, allocations: 0.7045 MB / 0.691 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001175/0.5494, allocations: 156.9 kB / 0.6912 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.5495, allocations: 31.98 kB / 0.6912 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001065/0.5505, allocations: 0.5488 MB / 0.6917 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007963/0.5514, allocations: 491.8 kB / 0.6922 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001331/0.5527, allocations: 0.6973 MB / 0.6929 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.906e-06/0.5527, allocations: 4 kB / 0.6929 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004577/0.5573, allocations: 1.257 MB / 0.6941 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.5573, allocations: 10.41 kB / 0.6941 GB, free: 7.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.5573, allocations: 8 kB / 0.6941 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00053/0.5579, allocations: 140.7 kB / 0.6943 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005809/0.5585, allocations: 159.7 kB / 0.6944 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007368/0.5592, allocations: 0.7004 MB / 0.6951 GB, free: 6.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.5604, allocations: 131.5 kB / 0.6952 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.419e-05/0.5605, allocations: 35.98 kB / 0.6952 GB, free: 6.664 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002444/0.5607, allocations: 217 kB / 0.6955 GB, free: 6.445 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003135/0.5611, allocations: 142.4 kB / 0.6956 GB, free: 6.305 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.5655, allocations: 1.259 MB / 0.6968 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/0.5655, allocations: 11.94 kB / 0.6968 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.5656, allocations: 0 / 0.6968 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003889/0.5695, allocations: 1.095 MB / 0.6979 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006365/0.5758, allocations: 2.572 MB / 0.7004 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.5759, allocations: 4 kB / 0.7004 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004693/0.5763, allocations: 111.9 kB / 0.7005 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004993/0.5768, allocations: 136.7 kB / 0.7007 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.694e-05/0.5769, allocations: 27.94 kB / 0.7007 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004827/0.5817, allocations: 2.583 MB / 0.7032 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.5818, allocations: 15.81 kB / 0.7032 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005174/0.587, allocations: 1.684 MB / 0.7049 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007176/0.5877, allocations: 307.2 kB / 0.7052 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003209/0.588, allocations: 24.34 kB / 0.7052 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/0.5891, allocations: 79.84 kB / 0.7053 GB, free: 12.01 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.5893, allocations: 56.25 kB / 0.7053 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.387e-05/0.5893, allocations: 39.91 kB / 0.7053 GB, free: 11.91 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001487/0.5908, allocations: 0.8864 MB / 0.7062 GB, free: 11.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.5908, allocations: 4 kB / 0.7062 GB, free: 11.02 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002243/0.5931, allocations: 0.7213 MB / 0.7069 GB, free: 10.3 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001027/0.5941, allocations: 463.7 kB / 0.7074 GB, free: 9.852 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002825/0.597, allocations: 1.145 MB / 0.7085 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.597, allocations: 0 / 0.7085 GB, free: 8.703 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001501/0.5985, allocations: 0.5526 MB / 0.709 GB, free: 8.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003904/0.6024, allocations: 0.8169 MB / 0.7098 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004694/0.6071, allocations: 2.811 MB / 0.7126 GB, free: 4.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.608, allocations: 1.168 MB / 0.7137 GB, free: 3.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003895/0.6084, allocations: 119.3 kB / 0.7138 GB, free: 3.172 MB / 0.545 GB Notification: Performance of SimCode: time 9.42e-07/0.6084, allocations: 0 / 0.7138 GB, free: 3.172 MB / 0.545 GB Notification: Performance of Templates: time 0.04322/0.6517, allocations: 31.57 MB / 0.7446 GB, free: 3.812 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)