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.001088/0.001088, allocations: 98.58 kB / 16.02 MB, free: 80 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.001417/0.001417, allocations: 185 kB / 16.92 MB, free: 6.773 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.515/1.515, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8808/0.8808, allocations: 126.9 MB / 418.9 MB, free: 7.293 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003654/0.0003656, allocations: 11.94 kB / 0.498 GB, free: 9.664 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4951, allocations: 80.23 MB / 0.5763 GB, free: 7.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.092/0.5872, allocations: 73.78 MB / 0.6484 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02406/0.6113, allocations: 12.71 MB / 0.6608 GB, free: 0.7383 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003783/0.6151, allocations: 55.62 kB / 0.6609 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.6179, allocations: 0.672 MB / 0.6615 GB, free: 8 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007808/0.6258, allocations: 2.278 MB / 0.6637 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/0.6296, allocations: 1.267 MB / 0.665 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008379/0.638, allocations: 5.495 MB / 0.6703 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002413/0.6405, allocations: 1.155 MB / 0.6715 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004167/0.6447, allocations: 1.509 MB / 0.6729 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002422/0.6471, allocations: 1.12 MB / 0.674 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.6475, allocations: 60 kB / 0.6741 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0034/0.6509, allocations: 1.236 MB / 0.6753 GB, free: 1.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.6513, allocations: 294.5 kB / 0.6756 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.6528, allocations: 0.81 MB / 0.6764 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005052/0.6579, allocations: 2.751 MB / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.6579, allocations: 0 / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.083e-06/0.6579, allocations: 0 / 0.6791 GB, free: 13.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.281e-05/0.658, allocations: 0 / 0.6791 GB, free: 13.96 MB / 0.5137 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.004/0.662, allocations: 1.799 MB / 0.6808 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.662, allocations: 8.031 kB / 0.6808 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.6629, allocations: 242.8 kB / 0.681 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/0.6657, allocations: 1.517 MB / 0.6825 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.047e-05/0.6658, allocations: 78 kB / 0.6826 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.666, allocations: 100 kB / 0.6827 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.6683, allocations: 1.124 MB / 0.6838 GB, free: 8.949 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.6684, allocations: 3.938 kB / 0.6838 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.6685, allocations: 36 kB / 0.6838 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-05/0.6685, allocations: 28 kB / 0.6839 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.6707, allocations: 0.9251 MB / 0.6848 GB, free: 7.957 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.007795/0.6785, allocations: 4.943 MB / 0.6896 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001588/0.6801, allocations: 0.6321 MB / 0.6902 GB, free: 2.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/0.681, allocations: 366.8 kB / 0.6906 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008663/0.6818, allocations: 0.8238 MB / 0.6914 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.6819, allocations: 43.12 kB / 0.6914 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 3.316e-06/0.6819, allocations: 4 kB / 0.6914 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.008735/0.6907, allocations: 1.927 MB / 0.6933 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.6907, allocations: 59.97 kB / 0.6933 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.6928, allocations: 1.239 MB / 0.6946 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.693, allocations: 37.7 kB / 0.6946 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006568/0.6936, allocations: 0.6106 MB / 0.6952 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003012/0.694, allocations: 212.9 kB / 0.6954 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.6941, allocations: 65.69 kB / 0.6955 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.6943, allocations: 337.9 kB / 0.6958 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007851/0.6951, allocations: 301.8 kB / 0.6961 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009673/0.696, allocations: 0.4998 MB / 0.6966 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.6977, allocations: 0.7442 MB / 0.6973 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6977, allocations: 0 / 0.6973 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005521/0.7033, allocations: 1.406 MB / 0.6987 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.7035, allocations: 192 kB / 0.6988 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.7035, allocations: 11.98 kB / 0.6988 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007005/0.7042, allocations: 152.6 kB / 0.699 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007153/0.7049, allocations: 171.8 kB / 0.6992 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.706, allocations: 0.7045 MB / 0.6998 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.7074, allocations: 163.1 kB / 0.7 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.277e-05/0.7075, allocations: 35.97 kB / 0.7 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.7075, allocations: 4 kB / 0.7 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005047/0.7126, allocations: 1.249 MB / 0.7013 GB, free: 6.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.7126, allocations: 8 kB / 0.7013 GB, free: 6.262 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000606/0.7132, allocations: 157 kB / 0.7014 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000696/0.7139, allocations: 167.8 kB / 0.7016 GB, free: 5.941 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009698/0.7149, allocations: 0.7122 MB / 0.7023 GB, free: 5.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.7163, allocations: 151.2 kB / 0.7024 GB, free: 5.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.217e-05/0.7164, allocations: 32.19 kB / 0.7024 GB, free: 5.023 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.0007625/0.7171, allocations: 428.8 kB / 0.7029 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/0.7174, allocations: 142.2 kB / 0.703 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/0.7228, allocations: 1.389 MB / 0.7043 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.231e-05/0.7229, allocations: 12 kB / 0.7044 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.7229, allocations: 0 / 0.7044 GB, free: 3.039 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004868/0.7278, allocations: 1.232 MB / 0.7056 GB, free: 1.777 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007771/0.7355, allocations: 2.708 MB / 0.7082 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-06/0.7356, allocations: 0 / 0.7082 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.7362, allocations: 128.2 kB / 0.7083 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005874/0.7368, allocations: 140.7 kB / 0.7085 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.676e-05/0.7368, allocations: 23.92 kB / 0.7085 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005487/0.7423, allocations: 2.419 MB / 0.7108 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/0.7424, allocations: 11.92 kB / 0.7109 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/0.7487, allocations: 1.848 MB / 0.7127 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009355/0.7497, allocations: 339.1 kB / 0.713 GB, free: 9.805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.7499, allocations: 16 kB / 0.713 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009619/0.7508, allocations: 91.81 kB / 0.7131 GB, free: 9.699 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.751, allocations: 64.53 kB / 0.7132 GB, free: 9.637 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.112e-05/0.7511, allocations: 31.97 kB / 0.7132 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00156/0.7527, allocations: 0.8864 MB / 0.714 GB, free: 8.719 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7527, allocations: 3.938 kB / 0.7141 GB, free: 8.715 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002098/0.7548, allocations: 0.7213 MB / 0.7148 GB, free: 7.992 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.001026/0.7558, allocations: 466.9 kB / 0.7152 GB, free: 7.543 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003075/0.7589, allocations: 1.153 MB / 0.7163 GB, free: 6.398 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.7589, allocations: 4.062 kB / 0.7163 GB, free: 6.395 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/0.7607, allocations: 0.5953 MB / 0.7169 GB, free: 5.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004824/0.7655, allocations: 0.8038 MB / 0.7177 GB, free: 4.996 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005015/0.7706, allocations: 2.835 MB / 0.7205 GB, free: 2.086 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009106/0.7715, allocations: 1.187 MB / 0.7216 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001461/0.773, allocations: 306.8 kB / 0.7219 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003234/0.7733, allocations: 115.4 kB / 0.722 GB, free: 464 kB / 0.545 GB Notification: Performance of SimCode: time 8.02e-07/0.7733, allocations: 0 / 0.722 GB, free: 464 kB / 0.545 GB Notification: Performance of Templates: time 0.06022/0.8335, allocations: 32.54 MB / 0.7538 GB, free: 292 kB / 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)