Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.008176/0.008176, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.00213/0.00213, allocations: 193.8 kB / 16.79 MB, free: 5.816 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.339/1.339, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9157/0.9157, allocations: 135.1 MB / 425.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 64.58 kB / 0.5053 GB, free: 5.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.177, allocations: 80.92 MB / 0.5843 GB, free: 4.953 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.3796/0.5566, allocations: 74.68 MB / 0.6573 GB, free: 7.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01616/0.5728, allocations: 12.79 MB / 0.6698 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003088/0.5759, allocations: 60.09 kB / 0.6698 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.5788, allocations: 0.6772 MB / 0.6705 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007663/0.5865, allocations: 2.266 MB / 0.6727 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.5904, allocations: 1.268 MB / 0.6739 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009127/0.5995, allocations: 5.54 MB / 0.6793 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002621/0.6022, allocations: 1.18 MB / 0.6805 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003953/0.6061, allocations: 1.366 MB / 0.6818 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003001/0.6092, allocations: 1.176 MB / 0.683 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004505/0.6097, allocations: 76.56 kB / 0.683 GB, free: 8.012 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.6136, allocations: 1.276 MB / 0.6843 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006296/0.6143, allocations: 315.8 kB / 0.6846 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00202/0.6163, allocations: 0.804 MB / 0.6854 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.6212, allocations: 2.217 MB / 0.6875 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6213, allocations: 0 / 0.6875 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6213, allocations: 0 / 0.6875 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.472e-05/0.6214, allocations: 1.219 kB / 0.6875 GB, free: 6.18 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006127/0.6275, allocations: 2.091 MB / 0.6896 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.6276, allocations: 9.109 kB / 0.6896 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.6286, allocations: 231 kB / 0.6898 GB, free: 4.711 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003126/0.6318, allocations: 1.508 MB / 0.6913 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-05/0.6319, allocations: 77.03 kB / 0.6914 GB, free: 3.742 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/0.6321, allocations: 100.8 kB / 0.6915 GB, free: 3.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.6346, allocations: 1.099 MB / 0.6925 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.572e-05/0.6347, allocations: 1.125 kB / 0.6925 GB, free: 3.223 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001178/0.6348, allocations: 36.81 kB / 0.6926 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-05/0.6348, allocations: 29.88 kB / 0.6926 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/0.637, allocations: 0.8856 MB / 0.6935 GB, free: 2.883 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.007901/0.6449, allocations: 4.912 MB / 0.6983 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001413/0.6464, allocations: 0.6315 MB / 0.6989 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.6472, allocations: 349.7 kB / 0.6992 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009452/0.6481, allocations: 0.8355 MB / 0.7 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.6482, allocations: 37.62 kB / 0.7001 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 2.846e-06/0.6482, allocations: 1.156 kB / 0.7001 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.00756/0.6557, allocations: 1.692 MB / 0.7017 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.6558, allocations: 58.72 kB / 0.7018 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.6579, allocations: 1.206 MB / 0.7029 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/0.6581, allocations: 43.39 kB / 0.703 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005558/0.6586, allocations: 0.608 MB / 0.7036 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002662/0.6589, allocations: 215 kB / 0.7038 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002526/0.6592, allocations: 153.8 kB / 0.7039 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.6593, allocations: 336.5 kB / 0.7043 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006859/0.66, allocations: 290.9 kB / 0.7045 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009253/0.6609, allocations: 488.6 kB / 0.705 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.6624, allocations: 0.7078 MB / 0.7057 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.6624, allocations: 1.5 kB / 0.7057 GB, free: 11.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004925/0.6674, allocations: 1.279 MB / 0.7069 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.6674, allocations: 6.625 kB / 0.7069 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/0.6674, allocations: 6.938 kB / 0.707 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007372/0.6682, allocations: 161.4 kB / 0.7071 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006665/0.6689, allocations: 156.1 kB / 0.7073 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009014/0.6698, allocations: 0.7068 MB / 0.7079 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/0.6714, allocations: 161.2 kB / 0.7081 GB, free: 9.711 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/0.6715, allocations: 34.89 kB / 0.7081 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001259/0.6728, allocations: 0.5565 MB / 0.7087 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008607/0.6736, allocations: 482.7 kB / 0.7091 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001415/0.6751, allocations: 0.7077 MB / 0.7098 GB, free: 8.547 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.9e-06/0.6751, allocations: 6.125 kB / 0.7098 GB, free: 8.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004775/0.6799, allocations: 1.275 MB / 0.7111 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6799, allocations: 12.09 kB / 0.7111 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.6799, allocations: 3.469 kB / 0.7111 GB, free: 7.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006304/0.6806, allocations: 158.6 kB / 0.7112 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006233/0.6812, allocations: 151.3 kB / 0.7114 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008343/0.682, allocations: 0.7255 MB / 0.7121 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.6836, allocations: 134.6 kB / 0.7122 GB, free: 7.082 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.744e-05/0.6837, allocations: 35.89 kB / 0.7123 GB, free: 7.07 MB / 0.5294 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.0003115/0.684, allocations: 220.3 kB / 0.7125 GB, free: 6.859 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.6844, allocations: 140.2 kB / 0.7126 GB, free: 6.785 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004626/0.689, allocations: 1.284 MB / 0.7139 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.6891, allocations: 8.531 kB / 0.7139 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.6891, allocations: 0 / 0.7139 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003981/0.6931, allocations: 1.109 MB / 0.715 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007105/0.7002, allocations: 2.612 MB / 0.7175 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.7002, allocations: 4.844 kB / 0.7175 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004761/0.7007, allocations: 112.2 kB / 0.7176 GB, free: 3.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006037/0.7013, allocations: 153.6 kB / 0.7178 GB, free: 3.539 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.7014, allocations: 20.67 kB / 0.7178 GB, free: 3.527 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008086/0.7022, allocations: 0.711 MB / 0.7185 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.7022, allocations: 2.562 kB / 0.7185 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/0.7075, allocations: 1.705 MB / 0.7201 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009541/0.7085, allocations: 311.2 kB / 0.7204 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002925/0.7088, allocations: 16 kB / 0.7205 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009812/0.7098, allocations: 87.75 kB / 0.7205 GB, free: 0.8398 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.7099, allocations: 56.25 kB / 0.7206 GB, free: 0.7852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.111e-05/0.71, allocations: 35.97 kB / 0.7206 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001329/0.7113, allocations: 0.8738 MB / 0.7215 GB, free: 15.88 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7113, allocations: 0 / 0.7215 GB, free: 15.88 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002225/0.7136, allocations: 0.7018 MB / 0.7222 GB, free: 15.17 MB / 0.545 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.001061/0.7146, allocations: 457 kB / 0.7226 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002663/0.7173, allocations: 1.119 MB / 0.7237 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.7173, allocations: 0 / 0.7237 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.7182, allocations: 385 kB / 0.7241 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003984/0.7222, allocations: 0.7547 MB / 0.7248 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004427/0.7267, allocations: 2.788 MB / 0.7275 GB, free: 9.641 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.7275, allocations: 1.165 MB / 0.7287 GB, free: 8.445 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000423/0.7279, allocations: 107.4 kB / 0.7288 GB, free: 8.34 MB / 0.545 GB Notification: Performance of SimCode: time 6.91e-07/0.7279, allocations: 0 / 0.7288 GB, free: 8.34 MB / 0.545 GB Notification: Performance of Templates: time 0.04153/0.7695, allocations: 30.86 MB / 0.7589 GB, free: 9.684 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1)