Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00951/0.00951, allocations: 170.2 kB / 16.27 MB, free: 6.332 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.632/1.632, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9876/0.9876, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004672, allocations: 8 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2114, allocations: 82.31 MB / 0.588 GB, free: 2.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.53/0.7415, allocations: 129.3 MB / 0.7143 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03871/0.7803, allocations: 23.04 MB / 0.7368 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006478/0.7868, allocations: 104.8 kB / 0.7369 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.005224/0.792, allocations: 1.203 MB / 0.738 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01641/0.8085, allocations: 3.77 MB / 0.7417 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.008108/0.8166, allocations: 1.961 MB / 0.7436 GB, free: 9.574 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.8314, allocations: 8.279 MB / 0.7517 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004384/0.8358, allocations: 1.912 MB / 0.7536 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00734/0.8432, allocations: 2.305 MB / 0.7558 GB, free: 320 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004726/0.8479, allocations: 1.788 MB / 0.7576 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007994/0.8488, allocations: 92 kB / 0.7577 GB, free: 14.42 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006606/0.8554, allocations: 1.711 MB / 0.7593 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.8565, allocations: 445.7 kB / 0.7598 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003144/0.8596, allocations: 1.311 MB / 0.761 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009402/0.869, allocations: 4.131 MB / 0.7651 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.353e-06/0.8691, allocations: 3.938 kB / 0.7651 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8691, allocations: 0 / 0.7651 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001203/0.8692, allocations: 0 / 0.7651 GB, free: 6.801 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.006629/0.8759, allocations: 2.682 MB / 0.7677 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.8759, allocations: 8.031 kB / 0.7677 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005152/0.8811, allocations: 0.9572 MB / 0.7686 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/0.8866, allocations: 2.278 MB / 0.7709 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/0.8877, allocations: 322.8 kB / 0.7712 GB, free: 412 kB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003492/0.8881, allocations: 160 kB / 0.7713 GB, free: 252 kB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004635/0.8927, allocations: 1.977 MB / 0.7733 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.04e-05/0.8928, allocations: 8 kB / 0.7733 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.8929, allocations: 63.98 kB / 0.7733 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.373e-05/0.893, allocations: 43.94 kB / 0.7734 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005087/0.8981, allocations: 1.917 MB / 0.7752 GB, free: 12.17 MB / 0.5919 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.01442/0.9125, allocations: 9.097 MB / 0.7841 GB, free: 2.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004551/0.9171, allocations: 1.312 MB / 0.7854 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.9183, allocations: 481.9 kB / 0.7859 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001277/0.9196, allocations: 1.727 MB / 0.7876 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.9196, allocations: 42.31 kB / 0.7876 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.454e-06/0.9196, allocations: 0 / 0.7876 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.009856/0.9295, allocations: 2.519 MB / 0.7901 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/0.9296, allocations: 85.11 kB / 0.7901 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004883/0.9345, allocations: 2.54 MB / 0.7926 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002053/0.9347, allocations: 49.69 kB / 0.7927 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.9357, allocations: 1.042 MB / 0.7937 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.9361, allocations: 268.2 kB / 0.7939 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.9363, allocations: 93.66 kB / 0.794 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.9365, allocations: 349.9 kB / 0.7944 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/0.9384, allocations: 0.6272 MB / 0.795 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002218/0.9406, allocations: 1.009 MB / 0.796 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003426/0.944, allocations: 1.327 MB / 0.7973 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.9441, allocations: 8 kB / 0.7973 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007383/0.9514, allocations: 2.185 MB / 0.7994 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.9515, allocations: 16.08 kB / 0.7994 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.9515, allocations: 8 kB / 0.7994 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/0.9534, allocations: 0.5087 MB / 0.7999 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/0.9547, allocations: 303.6 kB / 0.8002 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/0.957, allocations: 1.561 MB / 0.8017 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/0.9609, allocations: 481.9 kB / 0.8022 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.9611, allocations: 55.97 kB / 0.8022 GB, free: 15.06 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001212/0.9623, allocations: 458.9 kB / 0.8027 GB, free: 14.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004404/0.9627, allocations: 252.9 kB / 0.8029 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003821/0.9666, allocations: 1.545 MB / 0.8044 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.265e-05/0.9666, allocations: 12 kB / 0.8044 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.9666, allocations: 0 / 0.8044 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.9667, allocations: 3.984 kB / 0.8044 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008779/0.9754, allocations: 3.723 MB / 0.8081 GB, free: 8.953 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.9755, allocations: 4 kB / 0.8081 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006471/0.9761, allocations: 140.1 kB / 0.8082 GB, free: 8.812 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001791/0.9779, allocations: 0.4993 MB / 0.8087 GB, free: 8.309 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.279e-05/0.978, allocations: 23.98 kB / 0.8087 GB, free: 8.285 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002967/0.981, allocations: 1.66 MB / 0.8103 GB, free: 6.574 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.981, allocations: 4 kB / 0.8104 GB, free: 6.57 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006716/0.9877, allocations: 2.08 MB / 0.8124 GB, free: 4.422 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/0.9892, allocations: 0.5131 MB / 0.8129 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.9895, allocations: 20 kB / 0.8129 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001808/0.9913, allocations: 195.7 kB / 0.8131 GB, free: 3.676 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.888e-05/0.9914, allocations: 63.8 kB / 0.8132 GB, free: 3.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.9915, allocations: 39.97 kB / 0.8132 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003223/0.9948, allocations: 1.793 MB / 0.8149 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/0.9948, allocations: 0 / 0.8149 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002142/0.9969, allocations: 0.6788 MB / 0.8156 GB, free: 1.098 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/0.9981, allocations: 0.6035 MB / 0.8162 GB, free: 0.5078 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004349/1.002, allocations: 1.44 MB / 0.8176 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/1.002, allocations: 0 / 0.8176 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002448/1.005, allocations: 0.7407 MB / 0.8183 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007319/1.012, allocations: 1.317 MB / 0.8196 GB, free: 13.04 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0074/1.02, allocations: 4.361 MB / 0.8239 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001138/1.021, allocations: 1.487 MB / 0.8253 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0023/1.023, allocations: 440.5 kB / 0.8257 GB, free: 6.66 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/1.024, allocations: 175.4 kB / 0.8259 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of SimCode: time 8.82e-07/1.024, allocations: 0 / 0.8259 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of Templates: time 0.4457/1.469, allocations: 51.01 MB / 0.8757 GB, free: 196.4 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)