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.001276/0.001276, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 196.8 kB / 16.54 MB, free: 6.672 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7062/0.7062, allocations: 132.2 MB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 68.88 kB / 0.5018 GB, free: 3.848 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3791/0.3803, allocations: 80.21 MB / 0.5801 GB, free: 4.77 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.06834/0.4487, allocations: 75.14 MB / 0.6535 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01557/0.4643, allocations: 12.73 MB / 0.6659 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002367/0.4667, allocations: 67.62 kB / 0.666 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.4691, allocations: 0.8267 MB / 0.6668 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00662/0.4758, allocations: 2.463 MB / 0.6692 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003246/0.4791, allocations: 1.373 MB / 0.6705 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005102/0.4842, allocations: 4.38 MB / 0.6748 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.4861, allocations: 1.441 MB / 0.6762 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.4899, allocations: 1.614 MB / 0.6778 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.4918, allocations: 1.19 MB / 0.679 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003412/0.4921, allocations: 164 kB / 0.6791 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.4951, allocations: 1.419 MB / 0.6805 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005002/0.4956, allocations: 398.6 kB / 0.6809 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.4968, allocations: 0.906 MB / 0.6818 GB, free: 9.254 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003965/0.5008, allocations: 2.855 MB / 0.6845 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.5008, allocations: 0 / 0.6845 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.047e-06/0.5008, allocations: 4 kB / 0.6846 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.5008, allocations: 3.938 kB / 0.6846 GB, free: 6.383 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.003612/0.5044, allocations: 2.087 MB / 0.6866 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.5045, allocations: 8.031 kB / 0.6866 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.5053, allocations: 234.7 kB / 0.6868 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.5073, allocations: 1.454 MB / 0.6882 GB, free: 2.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.036e-05/0.5073, allocations: 78 kB / 0.6883 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.5075, allocations: 104 kB / 0.6884 GB, free: 2.305 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.5093, allocations: 1.096 MB / 0.6895 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.5093, allocations: 4 kB / 0.6895 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.769e-05/0.5094, allocations: 40 kB / 0.6895 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.374e-05/0.5094, allocations: 31.98 kB / 0.6896 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/0.5112, allocations: 0.8861 MB / 0.6904 GB, free: 216 kB / 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.005388/0.5166, allocations: 4.95 MB / 0.6953 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.5179, allocations: 0.6331 MB / 0.6959 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/0.5185, allocations: 342.3 kB / 0.6962 GB, free: 10 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005859/0.5191, allocations: 0.8277 MB / 0.697 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.5192, allocations: 47.06 kB / 0.6971 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=62): time 1.994e-06/0.5192, allocations: 0 / 0.6971 GB, free: 8.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=62): time 0.006856/0.526, allocations: 1.697 MB / 0.6987 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.967e-05/0.5261, allocations: 55.97 kB / 0.6988 GB, free: 7.141 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.5276, allocations: 1.229 MB / 0.7 GB, free: 5.895 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.521e-05/0.5276, allocations: 37.7 kB / 0.7 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004648/0.5281, allocations: 0.6065 MB / 0.7006 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.5283, allocations: 216.9 kB / 0.7008 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.5285, allocations: 154.5 kB / 0.701 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.5286, allocations: 334 kB / 0.7013 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.5293, allocations: 296.6 kB / 0.7016 GB, free: 4.242 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007685/0.5301, allocations: 487 kB / 0.702 GB, free: 3.695 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001292/0.5314, allocations: 0.7043 MB / 0.7027 GB, free: 2.949 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.984e-06/0.5314, allocations: 7.938 kB / 0.7027 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004417/0.5358, allocations: 1.273 MB / 0.704 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/0.5358, allocations: 12 kB / 0.704 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.5359, allocations: 4 kB / 0.704 GB, free: 1.641 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006941/0.5366, allocations: 156.7 kB / 0.7041 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005781/0.5371, allocations: 155.8 kB / 0.7043 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009141/0.5381, allocations: 0.7195 MB / 0.705 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009674/0.539, allocations: 127 kB / 0.7051 GB, free: 472 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.5391, allocations: 35.98 kB / 0.7051 GB, free: 436 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/0.5402, allocations: 0.5488 MB / 0.7057 GB, free: 15.87 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007703/0.5409, allocations: 487 kB / 0.7061 GB, free: 15.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001308/0.5422, allocations: 0.7043 MB / 0.7068 GB, free: 14.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.958e-06/0.5423, allocations: 0 / 0.7068 GB, free: 14.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004497/0.5468, allocations: 1.273 MB / 0.7081 GB, free: 13.29 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.5468, allocations: 8.375 kB / 0.7081 GB, free: 13.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.5468, allocations: 11.98 kB / 0.7081 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.5474, allocations: 152.7 kB / 0.7082 GB, free: 13.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005479/0.548, allocations: 155.8 kB / 0.7084 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007645/0.5487, allocations: 0.72 MB / 0.7091 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009688/0.5497, allocations: 95.58 kB / 0.7092 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/0.5498, allocations: 35.98 kB / 0.7092 GB, free: 12.09 MB / 0.545 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.0002073/0.55, allocations: 224 kB / 0.7094 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/0.5502, allocations: 138.3 kB / 0.7095 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/0.5547, allocations: 1.287 MB / 0.7108 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.5547, allocations: 8 kB / 0.7108 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5547, allocations: 0 / 0.7108 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004043/0.5588, allocations: 1.111 MB / 0.7119 GB, free: 9.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006283/0.5651, allocations: 2.622 MB / 0.7145 GB, free: 6.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.5651, allocations: 4 kB / 0.7145 GB, free: 6.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004643/0.5656, allocations: 115.8 kB / 0.7146 GB, free: 6.418 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005879/0.5662, allocations: 156.6 kB / 0.7147 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.5663, allocations: 20 kB / 0.7147 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007975/0.5671, allocations: 0.7156 MB / 0.7154 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5671, allocations: 4 kB / 0.7154 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005032/0.5721, allocations: 1.699 MB / 0.7171 GB, free: 3.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004929/0.5726, allocations: 311.1 kB / 0.7174 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.5728, allocations: 20.06 kB / 0.7174 GB, free: 3.387 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.5736, allocations: 55.94 kB / 0.7175 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.5737, allocations: 52.25 kB / 0.7175 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.5737, allocations: 39.97 kB / 0.7176 GB, free: 3.242 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001066/0.5748, allocations: 0.8777 MB / 0.7184 GB, free: 2.363 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5748, allocations: 4 kB / 0.7184 GB, free: 2.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001588/0.5764, allocations: 0.7057 MB / 0.7191 GB, free: 1.652 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.0008415/0.5773, allocations: 472.2 kB / 0.7196 GB, free: 1.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002678/0.5799, allocations: 1.164 MB / 0.7207 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.58, allocations: 0 / 0.7207 GB, free: 36 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008538/0.5808, allocations: 391.3 kB / 0.7211 GB, free: 15.65 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003301/0.5841, allocations: 0.8119 MB / 0.7219 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.5875, allocations: 2.291 MB / 0.7241 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.5882, allocations: 1.172 MB / 0.7252 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001095/0.5893, allocations: 302.9 kB / 0.7255 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002421/0.5896, allocations: 107.4 kB / 0.7256 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of SimCode: time 7.72e-07/0.5896, allocations: 0 / 0.7256 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.04809/0.6377, allocations: 31.98 MB / 0.7569 GB, free: 11.35 MB / 0.5919 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)