Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006146/0.006146, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001731/0.001731, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7396/0.7396, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.91 kB / 0.5814 GB, free: 7.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4131/0.4143, allocations: 80.2 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06697/0.4813, allocations: 75.16 MB / 0.7331 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.498, allocations: 12.74 MB / 0.7455 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003031/0.5011, allocations: 63.62 kB / 0.7456 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00198/0.5031, allocations: 0.8306 MB / 0.7464 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.5092, allocations: 2.459 MB / 0.7488 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.5123, allocations: 1.389 MB / 0.7501 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005108/0.5174, allocations: 4.381 MB / 0.7544 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002136/0.5195, allocations: 1.437 MB / 0.7558 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.5231, allocations: 1.622 MB / 0.7574 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002023/0.5251, allocations: 1.202 MB / 0.7586 GB, free: 0.6758 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004195/0.5255, allocations: 160 kB / 0.7587 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003072/0.5286, allocations: 1.427 MB / 0.7601 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005506/0.5292, allocations: 402.6 kB / 0.7605 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001476/0.5306, allocations: 0.9021 MB / 0.7614 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005859/0.5365, allocations: 2.898 MB / 0.7642 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5365, allocations: 0 / 0.7642 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.204e-06/0.5366, allocations: 3.938 kB / 0.7642 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.299e-05/0.5366, allocations: 0 / 0.7642 GB, free: 10.88 MB / 0.5919 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.004873/0.5415, allocations: 2.139 MB / 0.7663 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5416, allocations: 12.03 kB / 0.7663 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008749/0.5424, allocations: 235.8 kB / 0.7666 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.5448, allocations: 1.54 MB / 0.7681 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.697e-05/0.5449, allocations: 74 kB / 0.7681 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.545, allocations: 104 kB / 0.7682 GB, free: 6.664 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001859/0.5469, allocations: 1.096 MB / 0.7693 GB, free: 5.531 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.706e-05/0.5469, allocations: 8 kB / 0.7693 GB, free: 5.523 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.547, allocations: 36 kB / 0.7693 GB, free: 5.488 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.547, allocations: 24 kB / 0.7694 GB, free: 5.465 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.5488, allocations: 0.89 MB / 0.7702 GB, free: 4.574 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.005357/0.5542, allocations: 4.92 MB / 0.775 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5554, allocations: 0.6288 MB / 0.7757 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/0.5561, allocations: 346.8 kB / 0.776 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.5567, allocations: 0.8354 MB / 0.7768 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.5568, allocations: 43.12 kB / 0.7768 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.214e-06/0.5568, allocations: 0 / 0.7768 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.006618/0.5634, allocations: 1.698 MB / 0.7785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/0.5635, allocations: 55.97 kB / 0.7786 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001483/0.565, allocations: 1.225 MB / 0.7797 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.565, allocations: 41.7 kB / 0.7798 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004662/0.5655, allocations: 0.6152 MB / 0.7804 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/0.5657, allocations: 226 kB / 0.7806 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.5659, allocations: 158.6 kB / 0.7808 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001123/0.566, allocations: 333.9 kB / 0.7811 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/0.5667, allocations: 296.5 kB / 0.7814 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007928/0.5675, allocations: 487 kB / 0.7818 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/0.5688, allocations: 0.7157 MB / 0.7825 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.5689, allocations: 4 kB / 0.7825 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004303/0.5732, allocations: 1.278 MB / 0.7838 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.5732, allocations: 12.06 kB / 0.7838 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5732, allocations: 4 kB / 0.7838 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006954/0.5739, allocations: 159.3 kB / 0.7839 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005769/0.5745, allocations: 155.8 kB / 0.7841 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008061/0.5753, allocations: 0.7162 MB / 0.7848 GB, free: 4.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009164/0.5763, allocations: 123.4 kB / 0.7849 GB, free: 4.828 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.617e-05/0.5763, allocations: 39.98 kB / 0.7849 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000974/0.5773, allocations: 0.5448 MB / 0.7855 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007559/0.5781, allocations: 495 kB / 0.7859 GB, free: 3.684 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/0.5794, allocations: 0.7042 MB / 0.7866 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.5794, allocations: 0 / 0.7866 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00422/0.5836, allocations: 1.277 MB / 0.7879 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.5836, allocations: 8.375 kB / 0.7879 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.5836, allocations: 8 kB / 0.7879 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005495/0.5842, allocations: 152.7 kB / 0.788 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005342/0.5847, allocations: 159.7 kB / 0.7882 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007272/0.5855, allocations: 0.7162 MB / 0.7889 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008806/0.5864, allocations: 99.66 kB / 0.789 GB, free: 492 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.759e-05/0.5864, allocations: 31.98 kB / 0.789 GB, free: 460 kB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002121/0.5867, allocations: 234.7 kB / 0.7892 GB, free: 220 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/0.5869, allocations: 139.1 kB / 0.7894 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004519/0.5914, allocations: 1.285 MB / 0.7906 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-05/0.5915, allocations: 4 kB / 0.7906 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.5915, allocations: 0 / 0.7906 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003972/0.5955, allocations: 1.119 MB / 0.7917 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006143/0.6016, allocations: 2.633 MB / 0.7943 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/0.6017, allocations: 0 / 0.7943 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.6021, allocations: 116.2 kB / 0.7944 GB, free: 10.76 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005741/0.6027, allocations: 152.7 kB / 0.7946 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.6028, allocations: 16 kB / 0.7946 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007693/0.6036, allocations: 0.7123 MB / 0.7953 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.6036, allocations: 4 kB / 0.7953 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004834/0.6084, allocations: 1.716 MB / 0.7969 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.609, allocations: 315.9 kB / 0.7972 GB, free: 7.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001649/0.6092, allocations: 19.98 kB / 0.7973 GB, free: 7.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007484/0.6099, allocations: 55.94 kB / 0.7973 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.61, allocations: 52.31 kB / 0.7974 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.6101, allocations: 31.98 kB / 0.7974 GB, free: 7.586 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001309/0.6114, allocations: 0.8816 MB / 0.7983 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6114, allocations: 0 / 0.7983 GB, free: 6.703 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001815/0.6132, allocations: 0.7212 MB / 0.799 GB, free: 5.98 MB / 0.6231 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008037/0.614, allocations: 474.1 kB / 0.7994 GB, free: 5.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002419/0.6165, allocations: 1.125 MB / 0.8005 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6165, allocations: 3.938 kB / 0.8005 GB, free: 4.391 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008522/0.6174, allocations: 391.2 kB / 0.8009 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003104/0.6205, allocations: 0.7967 MB / 0.8017 GB, free: 3.246 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.6237, allocations: 2.292 MB / 0.8039 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006669/0.6243, allocations: 1.172 MB / 0.8051 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009142/0.6253, allocations: 310.3 kB / 0.8054 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.6255, allocations: 107.4 kB / 0.8055 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.6255, allocations: 0 / 0.8055 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.04721/0.6727, allocations: 32.18 MB / 0.8369 GB, free: 15.47 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)