Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 108.8 kB / 15.99 MB, free: 6.367 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.00161/0.001611, allocations: 189.2 kB / 16.91 MB, free: 6.195 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.3/1.3, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7604/0.7604, allocations: 132.2 MB / 422.9 MB, free: 6.793 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 63.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3874, allocations: 80.19 MB / 0.5802 GB, free: 26.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05032/0.4378, allocations: 60.68 MB / 0.6395 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01733/0.4552, allocations: 11.88 MB / 0.6511 GB, free: 5.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002969/0.4582, allocations: 63.56 kB / 0.6511 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002454/0.4607, allocations: 0.5829 MB / 0.6517 GB, free: 5.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007363/0.4681, allocations: 1.828 MB / 0.6535 GB, free: 3.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003959/0.4721, allocations: 1.087 MB / 0.6545 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005052/0.4772, allocations: 3.096 MB / 0.6576 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002327/0.4795, allocations: 1.108 MB / 0.6586 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004075/0.4836, allocations: 1.336 MB / 0.66 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002005/0.4856, allocations: 0.9256 MB / 0.6609 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000482/0.4861, allocations: 120 kB / 0.661 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003546/0.4897, allocations: 1.489 MB / 0.6624 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000636/0.4904, allocations: 294.9 kB / 0.6627 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.492, allocations: 0.6997 MB / 0.6634 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.4954, allocations: 1.785 MB / 0.6651 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4954, allocations: 0 / 0.6651 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.215e-06/0.4955, allocations: 0 / 0.6651 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.558e-05/0.4956, allocations: 0 / 0.6651 GB, free: 7.266 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004446/0.5, allocations: 1.738 MB / 0.6668 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.5001, allocations: 8.031 kB / 0.6668 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.5019, allocations: 343 kB / 0.6672 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.5044, allocations: 1.128 MB / 0.6683 GB, free: 3.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003444/0.5048, allocations: 117.9 kB / 0.6684 GB, free: 3.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/0.5049, allocations: 84 kB / 0.6685 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002099/0.5071, allocations: 0.9543 MB / 0.6694 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.5071, allocations: 0 / 0.6694 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.5072, allocations: 36 kB / 0.6694 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.033e-05/0.5072, allocations: 20 kB / 0.6694 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.5092, allocations: 0.8118 MB / 0.6702 GB, free: 1.871 MB / 0.4981 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.006864/0.516, allocations: 4.745 MB / 0.6749 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5177, allocations: 0.5903 MB / 0.6754 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006029/0.5183, allocations: 272.6 kB / 0.6757 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001449/0.5198, allocations: 1.376 MB / 0.6771 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.5198, allocations: 38.55 kB / 0.6771 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.5198, allocations: 0 / 0.6771 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.006003/0.5258, allocations: 1.536 MB / 0.6786 GB, free: 8.613 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.5259, allocations: 63.41 kB / 0.6787 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002049/0.528, allocations: 1.051 MB / 0.6797 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.619e-05/0.5281, allocations: 41.7 kB / 0.6797 GB, free: 7.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/0.5286, allocations: 0.508 MB / 0.6802 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/0.5288, allocations: 165.7 kB / 0.6804 GB, free: 6.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.5291, allocations: 122.1 kB / 0.6805 GB, free: 6.625 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5292, allocations: 326 kB / 0.6808 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/0.53, allocations: 270.9 kB / 0.6811 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009637/0.531, allocations: 475.7 kB / 0.6815 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.5325, allocations: 0.6229 MB / 0.6821 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.5325, allocations: 0 / 0.6821 GB, free: 4.816 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002678/0.5352, allocations: 0.9299 MB / 0.683 GB, free: 3.875 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.5352, allocations: 8 kB / 0.683 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5352, allocations: 4 kB / 0.683 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001377/0.5366, allocations: 320.8 kB / 0.6833 GB, free: 3.547 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.5371, allocations: 103.9 kB / 0.6834 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001501/0.5386, allocations: 0.9152 MB / 0.6843 GB, free: 2.504 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.54, allocations: 163.3 kB / 0.6845 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001284/0.5402, allocations: 28 kB / 0.6845 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001162/0.5413, allocations: 493 kB / 0.685 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009421/0.5423, allocations: 460.3 kB / 0.6854 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001416/0.5437, allocations: 0.6267 MB / 0.686 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.158e-06/0.5437, allocations: 0 / 0.686 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002712/0.5464, allocations: 0.9259 MB / 0.6869 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5465, allocations: 4 kB / 0.6869 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.5465, allocations: 4 kB / 0.687 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.5477, allocations: 316.2 kB / 0.6873 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004531/0.5482, allocations: 115.8 kB / 0.6874 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.5498, allocations: 0.9035 MB / 0.6882 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.5513, allocations: 151.5 kB / 0.6884 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-05/0.5514, allocations: 35.86 kB / 0.6884 GB, free: 14.14 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002989/0.5517, allocations: 208.2 kB / 0.6886 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003374/0.552, allocations: 106.7 kB / 0.6887 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.5545, allocations: 0.9124 MB / 0.6896 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.5545, allocations: 7.984 kB / 0.6896 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.108e-05/0.5545, allocations: 4 kB / 0.6896 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5546, allocations: 0 / 0.6896 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006463/0.561, allocations: 2.233 MB / 0.6918 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.5611, allocations: 4 kB / 0.6918 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002325/0.5613, allocations: 51.91 kB / 0.6919 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001118/0.5625, allocations: 304.6 kB / 0.6922 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.282e-05/0.5625, allocations: 15.98 kB / 0.6922 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.5642, allocations: 0.9527 MB / 0.6931 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5643, allocations: 4.031 kB / 0.6931 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004434/0.5687, allocations: 1.255 MB / 0.6943 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007475/0.5695, allocations: 263.5 kB / 0.6946 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/0.5699, allocations: 12 kB / 0.6946 GB, free: 7.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/0.5712, allocations: 91.75 kB / 0.6947 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.5714, allocations: 39.73 kB / 0.6947 GB, free: 7.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.028e-05/0.5715, allocations: 23.98 kB / 0.6947 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001981/0.5735, allocations: 0.7352 MB / 0.6955 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5735, allocations: 0 / 0.6955 GB, free: 6.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002495/0.576, allocations: 0.5692 MB / 0.696 GB, free: 6.16 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001192/0.5772, allocations: 413.8 kB / 0.6964 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003345/0.5806, allocations: 1.027 MB / 0.6974 GB, free: 4.734 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.5806, allocations: 4 kB / 0.6974 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008486/0.5814, allocations: 318.5 kB / 0.6977 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/0.5843, allocations: 0.5116 MB / 0.6982 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004709/0.589, allocations: 2.282 MB / 0.7004 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009203/0.59, allocations: 1.057 MB / 0.7015 GB, free: 0.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003571/0.5904, allocations: 87.41 kB / 0.7016 GB, free: 424 kB / 0.5294 GB Notification: Performance of SimCode: time 1.212e-06/0.5904, allocations: 7.938 kB / 0.7016 GB, free: 416 kB / 0.5294 GB Notification: Performance of Templates: time 0.0387/0.6291, allocations: 23.98 MB / 0.725 GB, free: 8.613 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)