Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001/0.001001, allocations: 105.8 kB / 15.98 MB, free: 6.359 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.0011/0.0011, allocations: 195.8 kB / 16.91 MB, free: 6.191 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.293/1.293, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7714/0.7714, allocations: 132.2 MB / 422.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 63.84 kB / 0.5019 GB, free: 12.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4186/0.4197, allocations: 80.19 MB / 0.5802 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.05807/0.4778, allocations: 69.85 MB / 0.6484 GB, free: 8.457 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02391/0.5017, allocations: 18.78 MB / 0.6668 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003316/0.5051, allocations: 59.62 kB / 0.6668 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002892/0.5081, allocations: 0.6996 MB / 0.6675 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008334/0.5164, allocations: 2.657 MB / 0.6701 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.5209, allocations: 1.513 MB / 0.6716 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006291/0.5272, allocations: 4.07 MB / 0.6756 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002526/0.5298, allocations: 1.457 MB / 0.677 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004472/0.5343, allocations: 1.766 MB / 0.6787 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00225/0.5366, allocations: 1.21 MB / 0.6799 GB, free: 8.129 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004441/0.5371, allocations: 176 kB / 0.6801 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003193/0.5403, allocations: 1.439 MB / 0.6815 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004964/0.5408, allocations: 390.6 kB / 0.6818 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001362/0.5422, allocations: 0.9255 MB / 0.6827 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.5458, allocations: 2.467 MB / 0.6851 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.5458, allocations: 0 / 0.6851 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5458, allocations: 0 / 0.6851 GB, free: 2.73 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.697e-05/0.5458, allocations: 0 / 0.6851 GB, free: 2.73 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.003915/0.5498, allocations: 2.031 MB / 0.6871 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.5498, allocations: 12.03 kB / 0.6871 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002319/0.5521, allocations: 445.8 kB / 0.6876 GB, free: 192 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002827/0.555, allocations: 1.512 MB / 0.689 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003608/0.5554, allocations: 130 kB / 0.6892 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.5556, allocations: 108 kB / 0.6893 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.5582, allocations: 1.289 MB / 0.6905 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.805e-05/0.5583, allocations: 11.94 kB / 0.6905 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001115/0.5584, allocations: 43.98 kB / 0.6906 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.404e-05/0.5584, allocations: 31.94 kB / 0.6906 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/0.5611, allocations: 1.105 MB / 0.6917 GB, free: 11.81 MB / 0.5294 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.009321/0.5704, allocations: 7.133 MB / 0.6987 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003118/0.5736, allocations: 0.8056 MB / 0.6994 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000608/0.5742, allocations: 282 kB / 0.6997 GB, free: 3.086 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001375/0.5756, allocations: 1.73 MB / 0.7014 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.5756, allocations: 43 kB / 0.7014 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=48): time 2.685e-06/0.5757, allocations: 0 / 0.7014 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=48): time 0.004919/0.5806, allocations: 1.33 MB / 0.7027 GB, free: 15.55 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.5807, allocations: 59.84 kB / 0.7028 GB, free: 15.48 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.5833, allocations: 1.521 MB / 0.7043 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.5834, allocations: 37.7 kB / 0.7043 GB, free: 13.91 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006061/0.5841, allocations: 0.6613 MB / 0.705 GB, free: 13.24 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001996/0.5843, allocations: 177.6 kB / 0.7051 GB, free: 13.07 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/0.5846, allocations: 162.5 kB / 0.7053 GB, free: 12.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.5847, allocations: 333.9 kB / 0.7056 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009734/0.5857, allocations: 357.8 kB / 0.7059 GB, free: 12.22 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.5869, allocations: 0.6432 MB / 0.7066 GB, free: 11.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.5887, allocations: 0.8405 MB / 0.7074 GB, free: 10.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.5887, allocations: 8 kB / 0.7074 GB, free: 10.52 MB / 0.545 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004457/0.5932, allocations: 1.329 MB / 0.7087 GB, free: 9.172 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5932, allocations: 11.94 kB / 0.7087 GB, free: 9.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.477e-05/0.5932, allocations: 8 kB / 0.7087 GB, free: 9.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009306/0.5942, allocations: 221.4 kB / 0.7089 GB, free: 8.934 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007821/0.595, allocations: 191.7 kB / 0.7091 GB, free: 8.746 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.5959, allocations: 0.7123 MB / 0.7098 GB, free: 8.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.5977, allocations: 239.6 kB / 0.71 GB, free: 7.773 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.5978, allocations: 47.98 kB / 0.7101 GB, free: 7.727 MB / 0.545 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.0006683/0.5985, allocations: 353.6 kB / 0.7104 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003111/0.5988, allocations: 146.2 kB / 0.7106 GB, free: 7.227 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00239/0.6012, allocations: 1.144 MB / 0.7117 GB, free: 6.102 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.952e-05/0.6012, allocations: 11.94 kB / 0.7117 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6013, allocations: 0 / 0.7117 GB, free: 6.09 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6013, allocations: 3.984 kB / 0.7117 GB, free: 6.086 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/0.6065, allocations: 2.518 MB / 0.7142 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.6065, allocations: 0 / 0.7142 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/0.6069, allocations: 87.88 kB / 0.7142 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007847/0.6077, allocations: 212.7 kB / 0.7144 GB, free: 3.191 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.261e-05/0.6077, allocations: 16 kB / 0.7145 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/0.609, allocations: 0.7632 MB / 0.7152 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/0.6091, allocations: 8.062 kB / 0.7152 GB, free: 2.379 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003465/0.6125, allocations: 1.207 MB / 0.7164 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008047/0.6134, allocations: 347 kB / 0.7167 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002178/0.6136, allocations: 19.91 kB / 0.7167 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000941/0.6145, allocations: 91.78 kB / 0.7168 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.6146, allocations: 36.5 kB / 0.7169 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.6147, allocations: 27.98 kB / 0.7169 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001883/0.6166, allocations: 1.074 MB / 0.7179 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6166, allocations: 0 / 0.7179 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001439/0.6181, allocations: 435.4 kB / 0.7183 GB, free: 15.1 MB / 0.5606 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.0009698/0.619, allocations: 476.7 kB / 0.7188 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002357/0.6214, allocations: 0.868 MB / 0.7197 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.6214, allocations: 0 / 0.7197 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001244/0.6227, allocations: 447.5 kB / 0.7201 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00333/0.626, allocations: 0.7401 MB / 0.7208 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004417/0.6305, allocations: 2.775 MB / 0.7235 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.6312, allocations: 1.157 MB / 0.7246 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.6316, allocations: 123.4 kB / 0.7248 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of SimCode: time 1.102e-06/0.6316, allocations: 0 / 0.7248 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of Templates: time 0.3182/0.9499, allocations: 33.81 MB / 0.7578 GB, free: 155.8 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)