Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL") translateModel(Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001164/0.001164, 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.001863/0.001863, allocations: 193.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4633/0.4633, allocations: 54.95 MB / 324.7 MB, free: 15.93 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001629/0.00163, allocations: 71.89 kB / 395.3 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1475, allocations: 59.59 MB / 454.9 MB, free: 132 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.3262/0.4737, allocations: 60.48 MB / 0.5033 GB, free: 14.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02119/0.4949, allocations: 11.24 MB / 0.5143 GB, free: 6.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003634/0.4986, allocations: 51.19 kB / 0.5143 GB, free: 6.168 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003152/0.5018, allocations: 0.7263 MB / 0.5151 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008996/0.5109, allocations: 1.933 MB / 0.5169 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.5163, allocations: 1.02 MB / 0.5179 GB, free: 3.984 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.007849/0.5242, allocations: 3.01 MB / 0.5209 GB, free: 2.492 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003107/0.5273, allocations: 1.087 MB / 0.5219 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00647/0.5338, allocations: 1.435 MB / 0.5233 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002979/0.5368, allocations: 0.9684 MB / 0.5243 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007263/0.5375, allocations: 119.4 kB / 0.5244 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004948/0.5425, allocations: 1.231 MB / 0.5256 GB, free: 468 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008119/0.5433, allocations: 302.6 kB / 0.5259 GB, free: 268 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.5461, allocations: 0.7262 MB / 0.5266 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007116/0.5532, allocations: 2.242 MB / 0.5288 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.5533, allocations: 0 / 0.5288 GB, free: 14.63 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.5533, allocations: 4.984 kB / 0.5288 GB, free: 14.63 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0001064/0.5534, allocations: 0 / 0.5288 GB, free: 14.63 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.006791/0.5602, allocations: 1.746 MB / 0.5305 GB, free: 13.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.193e-05/0.5603, allocations: 9.312 kB / 0.5305 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002421/0.5627, allocations: 359.8 kB / 0.5308 GB, free: 13.13 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002424/0.5652, allocations: 1.046 MB / 0.5319 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004084/0.5656, allocations: 131.9 kB / 0.532 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.5658, allocations: 87.22 kB / 0.5321 GB, free: 12.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.5688, allocations: 1.212 MB / 0.5333 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.5688, allocations: 5.906 kB / 0.5333 GB, free: 11.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.948e-05/0.5689, allocations: 38.62 kB / 0.5333 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.026e-05/0.569, allocations: 25.59 kB / 0.5333 GB, free: 11.32 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002833/0.5718, allocations: 0.95 MB / 0.5343 GB, free: 10.85 MB / 414.1 MB 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.00892/0.5808, allocations: 6.191 MB / 0.5403 GB, free: 4.777 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.5828, allocations: 0.6016 MB / 0.5409 GB, free: 4.168 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005994/0.5834, allocations: 237.4 kB / 0.5411 GB, free: 3.934 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.5846, allocations: 0.8708 MB / 0.542 GB, free: 2.879 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.5846, allocations: 38.89 kB / 0.542 GB, free: 2.832 MB / 414.1 MB Notification: Performance of pre-optimization done (n=40): time 3.055e-06/0.5847, allocations: 4 kB / 0.542 GB, free: 2.828 MB / 414.1 MB Notification: Performance of matching and sorting (n=40): time 0.009311/0.594, allocations: 1.864 MB / 0.5438 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.5942, allocations: 162.2 kB / 0.544 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002427/0.5966, allocations: 1.165 MB / 0.5451 GB, free: 15.56 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001641/0.5968, allocations: 37.7 kB / 0.5452 GB, free: 15.52 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005586/0.5974, allocations: 0.6007 MB / 0.5457 GB, free: 14.91 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001871/0.5976, allocations: 142 kB / 0.5459 GB, free: 14.77 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002735/0.5978, allocations: 154.5 kB / 0.546 GB, free: 14.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.598, allocations: 334 kB / 0.5463 GB, free: 14.29 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009232/0.5989, allocations: 316.6 kB / 0.5466 GB, free: 13.97 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001197/0.6001, allocations: 0.633 MB / 0.5473 GB, free: 13.19 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001803/0.602, allocations: 0.8014 MB / 0.548 GB, free: 12.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.602, allocations: 0 / 0.548 GB, free: 12.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005601/0.6076, allocations: 1.4 MB / 0.5494 GB, free: 10.88 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.6077, allocations: 8 kB / 0.5494 GB, free: 10.87 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/0.6077, allocations: 8 kB / 0.5494 GB, free: 10.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.6089, allocations: 267 kB / 0.5497 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006873/0.6096, allocations: 163.7 kB / 0.5498 GB, free: 10.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.6111, allocations: 0.8591 MB / 0.5507 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.613, allocations: 183.6 kB / 0.5509 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.847e-05/0.6131, allocations: 39.98 kB / 0.5509 GB, free: 9.336 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001301/0.6144, allocations: 0.498 MB / 0.5514 GB, free: 8.832 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001051/0.6155, allocations: 0.6018 MB / 0.552 GB, free: 8.09 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001604/0.6171, allocations: 0.7578 MB / 0.5527 GB, free: 7.227 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.098e-06/0.6171, allocations: 0 / 0.5527 GB, free: 7.227 MB / 430.1 MB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005221/0.6223, allocations: 1.351 MB / 0.554 GB, free: 5.871 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.6224, allocations: 11.94 kB / 0.554 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.6224, allocations: 12.86 kB / 0.5541 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/0.6233, allocations: 264.6 kB / 0.5543 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005839/0.6239, allocations: 155.8 kB / 0.5545 GB, free: 5.434 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/0.6253, allocations: 0.8605 MB / 0.5553 GB, free: 4.547 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001716/0.627, allocations: 139.5 kB / 0.5554 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.6271, allocations: 36 kB / 0.5555 GB, free: 4.375 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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.0003259/0.6274, allocations: 228.1 kB / 0.5557 GB, free: 4.145 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002384/0.6277, allocations: 118.5 kB / 0.5558 GB, free: 4.027 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002269/0.63, allocations: 0.7709 MB / 0.5565 GB, free: 3.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.63, allocations: 4 kB / 0.5565 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.63, allocations: 4 kB / 0.5566 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.63, allocations: 0 / 0.5566 GB, free: 3.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.6352, allocations: 1.965 MB / 0.5585 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/0.6352, allocations: 0 / 0.5585 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003159/0.6355, allocations: 71.88 kB / 0.5585 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009239/0.6365, allocations: 253.3 kB / 0.5588 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-05/0.6365, allocations: 15.98 kB / 0.5588 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/0.6379, allocations: 0.8555 MB / 0.5596 GB, free: 15.97 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/0.6379, allocations: 4.703 kB / 0.5596 GB, free: 15.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003646/0.6416, allocations: 1.044 MB / 0.5607 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006769/0.6423, allocations: 259.5 kB / 0.5609 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.6425, allocations: 11.98 kB / 0.5609 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009304/0.6434, allocations: 80.59 kB / 0.561 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.6435, allocations: 39.84 kB / 0.561 GB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.644e-05/0.6436, allocations: 27.97 kB / 0.5611 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001234/0.6448, allocations: 0.7958 MB / 0.5618 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.522e-06/0.6448, allocations: 0 / 0.5618 GB, free: 13.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001878/0.6467, allocations: 0.581 MB / 0.5624 GB, free: 13.06 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0007893/0.6475, allocations: 295.8 kB / 0.5627 GB, free: 12.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.6509, allocations: 1.15 MB / 0.5638 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.651, allocations: 7.938 kB / 0.5638 GB, free: 11.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007937/0.6518, allocations: 281.5 kB / 0.5641 GB, free: 11.35 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/0.6546, allocations: 0.5742 MB / 0.5646 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.6583, allocations: 1.826 MB / 0.5664 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007251/0.659, allocations: 1.065 MB / 0.5675 GB, free: 7.859 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001185/0.6602, allocations: 245.5 kB / 0.5677 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001985/0.6604, allocations: 83.42 kB / 0.5678 GB, free: 7.547 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6604, allocations: 0 / 0.5678 GB, free: 7.547 MB / 446.1 MB Notification: Performance of Templates: time 0.04532/0.7057, allocations: 24.9 MB / 0.5921 GB, free: 14.86 MB / 478.1 MB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & ./Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)