Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 111.3 kB / 15.24 MB, free: 0.6484 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.001353/0.001353, allocations: 201.3 kB / 16.14 MB, free: 6.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.461/1.461, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 67.58 kB / 0.5047 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2121, allocations: 80.93 MB / 0.5837 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4697/0.6819, allocations: 70.03 MB / 0.6521 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0253/0.7072, allocations: 18.97 MB / 0.6706 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004797/0.7121, allocations: 66.19 kB / 0.6707 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.7153, allocations: 0.6667 MB / 0.6713 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01186/0.7272, allocations: 2.605 MB / 0.6739 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007394/0.7346, allocations: 1.488 MB / 0.6753 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.7447, allocations: 5.007 MB / 0.6802 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002927/0.7476, allocations: 1.18 MB / 0.6814 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.7527, allocations: 1.499 MB / 0.6828 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003746/0.7565, allocations: 1.161 MB / 0.684 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0006385/0.7572, allocations: 75.75 kB / 0.6841 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005388/0.7626, allocations: 1.243 MB / 0.6853 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.7637, allocations: 294.8 kB / 0.6855 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003276/0.767, allocations: 0.8114 MB / 0.6863 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009515/0.7765, allocations: 3.025 MB / 0.6893 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.7765, allocations: 0 / 0.6893 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.444e-06/0.7765, allocations: 0 / 0.6893 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001402/0.7767, allocations: 2.781 kB / 0.6893 GB, free: 4.457 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.008228/0.7849, allocations: 2.04 MB / 0.6913 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.327e-05/0.785, allocations: 9.844 kB / 0.6913 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003579/0.7886, allocations: 447.3 kB / 0.6917 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005015/0.7936, allocations: 1.502 MB / 0.6932 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005072/0.7942, allocations: 136.7 kB / 0.6933 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005369/0.7947, allocations: 103.2 kB / 0.6934 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004827/0.7996, allocations: 1.295 MB / 0.6947 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.955e-05/0.7996, allocations: 1.938 kB / 0.6947 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.7999, allocations: 43.91 kB / 0.6947 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.566e-05/0.7999, allocations: 25.12 kB / 0.6948 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003946/0.8039, allocations: 1.115 MB / 0.6958 GB, free: 0.8359 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.01269/0.8166, allocations: 7.128 MB / 0.7028 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003249/0.8198, allocations: 0.8063 MB / 0.7036 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.8206, allocations: 280.7 kB / 0.7039 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001503/0.8221, allocations: 1.724 MB / 0.7055 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/0.8221, allocations: 43.64 kB / 0.7056 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 3.406e-06/0.8222, allocations: 0 / 0.7056 GB, free: 8.879 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.005233/0.8274, allocations: 1.339 MB / 0.7069 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.8275, allocations: 56.91 kB / 0.7069 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003992/0.8315, allocations: 1.516 MB / 0.7084 GB, free: 7.359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001371/0.8316, allocations: 41.61 kB / 0.7085 GB, free: 7.316 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008063/0.8324, allocations: 0.6758 MB / 0.7091 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002853/0.8327, allocations: 167.2 kB / 0.7093 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004376/0.8332, allocations: 166.7 kB / 0.7094 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.8333, allocations: 335.9 kB / 0.7098 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.8344, allocations: 362 kB / 0.7101 GB, free: 5.961 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/0.8357, allocations: 0.629 MB / 0.7107 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001894/0.8376, allocations: 0.8576 MB / 0.7116 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.8376, allocations: 1.344 kB / 0.7116 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005062/0.8427, allocations: 1.335 MB / 0.7129 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.8427, allocations: 8.719 kB / 0.7129 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.281e-05/0.8428, allocations: 6.688 kB / 0.7129 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001143/0.8439, allocations: 220.8 kB / 0.7131 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.8448, allocations: 179.9 kB / 0.7133 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.8459, allocations: 0.7183 MB / 0.714 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.8483, allocations: 235.5 kB / 0.7142 GB, free: 3.219 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.8484, allocations: 41.41 kB / 0.7142 GB, free: 3.207 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (78): * Single equations (assignments): 77 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.8495, allocations: 362.3 kB / 0.7146 GB, free: 2.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000656/0.8502, allocations: 152.7 kB / 0.7147 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003211/0.8534, allocations: 1.134 MB / 0.7158 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.423e-05/0.8534, allocations: 14.86 kB / 0.7158 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.8534, allocations: 5.312 kB / 0.7158 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.8535, allocations: 0 / 0.7158 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007909/0.8614, allocations: 2.517 MB / 0.7183 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.8614, allocations: 2 kB / 0.7183 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000386/0.8618, allocations: 84.86 kB / 0.7184 GB, free: 424 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009342/0.8628, allocations: 224.6 kB / 0.7186 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-05/0.8628, allocations: 12.97 kB / 0.7186 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.8646, allocations: 0.7695 MB / 0.7194 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/0.8646, allocations: 2.531 kB / 0.7194 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004015/0.8686, allocations: 1.2 MB / 0.7205 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/0.8697, allocations: 346.2 kB / 0.7209 GB, free: 14.61 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006471/0.8704, allocations: 13.31 kB / 0.7209 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/0.8721, allocations: 93.38 kB / 0.721 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/0.8722, allocations: 48.56 kB / 0.721 GB, free: 14.53 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-05/0.8723, allocations: 27.67 kB / 0.721 GB, free: 14.52 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002703/0.875, allocations: 1.076 MB / 0.7221 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 4e-07/0.875, allocations: 0 / 0.7221 GB, free: 13.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002476/0.8775, allocations: 434.8 kB / 0.7225 GB, free: 13.83 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.001664/0.8792, allocations: 469.1 kB / 0.723 GB, free: 13.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002598/0.8818, allocations: 0.8261 MB / 0.7238 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.8818, allocations: 0 / 0.7238 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00139/0.8832, allocations: 447 kB / 0.7242 GB, free: 12.14 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0044/0.8877, allocations: 0.697 MB / 0.7249 GB, free: 11.46 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005597/0.8933, allocations: 2.741 MB / 0.7275 GB, free: 8.672 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.8943, allocations: 1.164 MB / 0.7287 GB, free: 7.48 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001483/0.8958, allocations: 265.3 kB / 0.7289 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.8963, allocations: 123.3 kB / 0.7291 GB, free: 7.098 MB / 0.545 GB Notification: Performance of SimCode: time 1.303e-06/0.8963, allocations: 0 / 0.7291 GB, free: 7.098 MB / 0.545 GB Notification: Performance of Templates: time 0.05509/0.9514, allocations: 30.04 MB / 0.7584 GB, free: 9.387 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)