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: "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000776/0.0007761, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008506/0.0008506, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7327/0.7327, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.0003041, allocations: 12 kB / 0.5035 GB, free: 4.168 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4627, allocations: 81.57 MB / 0.5831 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05671/0.5195, allocations: 56.49 MB / 0.6383 GB, free: 7.973 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01681/0.5364, allocations: 11.2 MB / 0.6492 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.5387, allocations: 51.62 kB / 0.6493 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.5403, allocations: 460.9 kB / 0.6497 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004672/0.545, allocations: 1.519 MB / 0.6512 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002729/0.5477, allocations: 0.8698 MB / 0.6521 GB, free: 9.867 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004592/0.5523, allocations: 3.389 MB / 0.6554 GB, free: 6.469 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.5541, allocations: 0.7977 MB / 0.6562 GB, free: 5.645 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002702/0.5569, allocations: 1.042 MB / 0.6572 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001725/0.5586, allocations: 0.8127 MB / 0.658 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000303/0.5589, allocations: 40 kB / 0.658 GB, free: 3.742 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.5619, allocations: 1.123 MB / 0.6591 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003903/0.5623, allocations: 203 kB / 0.6593 GB, free: 2.418 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.563, allocations: 289 kB / 0.6596 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.5655, allocations: 1.648 MB / 0.6612 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5655, allocations: 0 / 0.6612 GB, free: 488 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.5655, allocations: 3.984 kB / 0.6612 GB, free: 484 kB / 494.1 MB Notification: Performance of Transformations before backend: time 6.504e-05/0.5656, allocations: 0 / 0.6612 GB, free: 484 kB / 494.1 MB 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.003348/0.569, allocations: 1.508 MB / 0.6627 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.569, allocations: 12.03 kB / 0.6627 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002456/0.5693, allocations: 126.7 kB / 0.6628 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001669/0.571, allocations: 386 kB / 0.6632 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002433/0.5734, allocations: 1.082 MB / 0.6642 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003244/0.5737, allocations: 125.9 kB / 0.6643 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.5739, allocations: 84 kB / 0.6644 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002045/0.576, allocations: 0.9622 MB / 0.6654 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.576, allocations: 3.938 kB / 0.6654 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.872e-05/0.5761, allocations: 32 kB / 0.6654 GB, free: 12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.5761, allocations: 20 kB / 0.6654 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002047/0.5782, allocations: 0.8431 MB / 0.6662 GB, free: 11.13 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.006621/0.5848, allocations: 4.807 MB / 0.6709 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.5863, allocations: 0.5992 MB / 0.6715 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005802/0.5869, allocations: 290.5 kB / 0.6718 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.5883, allocations: 1.392 MB / 0.6731 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.962e-05/0.5883, allocations: 42.55 kB / 0.6732 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.534e-06/0.5884, allocations: 4 kB / 0.6732 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.0054/0.5938, allocations: 1.669 MB / 0.6748 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.5938, allocations: 67.34 kB / 0.6749 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00187/0.5957, allocations: 1.047 MB / 0.6759 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.606e-05/0.5958, allocations: 41.7 kB / 0.6759 GB, free: 456 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004672/0.5963, allocations: 0.5197 MB / 0.6765 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.5964, allocations: 153.8 kB / 0.6766 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.5965, allocations: 8 kB / 0.6766 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5966, allocations: 326 kB / 0.6769 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006998/0.5973, allocations: 284.9 kB / 0.6772 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/0.5982, allocations: 483.7 kB / 0.6777 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007838/0.599, allocations: 323.6 kB / 0.678 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.599, allocations: 4 kB / 0.678 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002394/0.6014, allocations: 0.9648 MB / 0.6789 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001643/0.6016, allocations: 199.6 kB / 0.6791 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.6016, allocations: 4 kB / 0.6791 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00126/0.6029, allocations: 336.6 kB / 0.6794 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.6033, allocations: 107.9 kB / 0.6795 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.6048, allocations: 0.9503 MB / 0.6805 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/0.606, allocations: 175.3 kB / 0.6806 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.339e-05/0.6061, allocations: 31.92 kB / 0.6806 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.6061, allocations: 4 kB / 0.6807 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002093/0.6082, allocations: 0.8437 MB / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.6082, allocations: 4.031 kB / 0.6815 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.6092, allocations: 335.8 kB / 0.6818 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004282/0.6097, allocations: 115.9 kB / 0.6819 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.6111, allocations: 0.9309 MB / 0.6828 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.6122, allocations: 159.4 kB / 0.683 GB, free: 9.031 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.606e-05/0.6123, allocations: 27.98 kB / 0.683 GB, free: 9.004 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005633/0.6129, allocations: 356.8 kB / 0.6833 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.6131, allocations: 106.7 kB / 0.6834 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00222/0.6154, allocations: 0.9476 MB / 0.6844 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/0.6154, allocations: 7.984 kB / 0.6844 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.6154, allocations: 0 / 0.6844 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.6154, allocations: 0 / 0.6844 GB, free: 7.574 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005989/0.6214, allocations: 2.328 MB / 0.6866 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.427e-06/0.6215, allocations: 0 / 0.6866 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002268/0.6217, allocations: 60.19 kB / 0.6867 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001009/0.6227, allocations: 332.5 kB / 0.687 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.211e-05/0.6228, allocations: 16 kB / 0.687 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/0.6243, allocations: 0.9756 MB / 0.688 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6243, allocations: 0 / 0.688 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004003/0.6283, allocations: 1.349 MB / 0.6893 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006914/0.629, allocations: 283.4 kB / 0.6896 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002793/0.6293, allocations: 16 kB / 0.6896 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009148/0.6302, allocations: 99.84 kB / 0.6897 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.291e-05/0.6303, allocations: 47.78 kB / 0.6897 GB, free: 1.906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.003e-05/0.6304, allocations: 23.98 kB / 0.6898 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001407/0.6318, allocations: 0.7352 MB / 0.6905 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6318, allocations: 0 / 0.6905 GB, free: 1.141 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001912/0.6337, allocations: 0.5614 MB / 0.691 GB, free: 0.5781 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004427/0.6382, allocations: 2.053 MB / 0.693 GB, free: 14.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002831/0.641, allocations: 1.058 MB / 0.6941 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6411, allocations: 0 / 0.6941 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.6418, allocations: 338.4 kB / 0.6944 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002724/0.6446, allocations: 0.498 MB / 0.6949 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/0.6594, allocations: 6.498 MB / 0.7012 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007591/0.6602, allocations: 1.065 MB / 0.7023 GB, free: 4.699 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001025/0.6613, allocations: 215.8 kB / 0.7025 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.6619, allocations: 411.3 kB / 0.7029 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of SimCode: time 8.51e-07/0.6619, allocations: 0 / 0.7029 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/0.7292, allocations: 33.55 MB / 0.7356 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002163/0.7294, allocations: 250.1 kB / 0.7359 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/3.365, allocations: 3.938 kB / 0.7359 GB, free: 2.777 MB / 0.5606 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) Environment - environmentSimulation: