Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.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_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",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.001788/0.001788, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.001848/0.001849, allocations: 177.3 kB / 15.95 MB, free: 216 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.938/1.938, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.098/1.098, allocations: 132.2 MB / 423.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003649, allocations: 8 kB / 0.5033 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7502/0.7506, allocations: 81.57 MB / 0.583 GB, free: 3.848 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.1202/0.8708, allocations: 51.29 MB / 0.633 GB, free: 13.04 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02148/0.8924, allocations: 10.28 MB / 0.6431 GB, free: 2.742 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.897, allocations: 51.62 kB / 0.6431 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.9006, allocations: 0.6336 MB / 0.6438 GB, free: 2.055 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009231/0.9099, allocations: 1.942 MB / 0.6457 GB, free: 112 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005138/0.9151, allocations: 1.313 MB / 0.6469 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005386/0.9205, allocations: 1.847 MB / 0.6487 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.9224, allocations: 0.8057 MB / 0.6495 GB, free: 12.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003047/0.9255, allocations: 0.9886 MB / 0.6505 GB, free: 11.15 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.9269, allocations: 0.591 MB / 0.6511 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001486/0.927, allocations: 47.94 kB / 0.6511 GB, free: 10.51 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.9301, allocations: 1.014 MB / 0.6521 GB, free: 9.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002768/0.9304, allocations: 191.1 kB / 0.6523 GB, free: 9.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005035/0.9309, allocations: 285.1 kB / 0.6526 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002578/0.9335, allocations: 1.594 MB / 0.6541 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.9335, allocations: 0 / 0.6541 GB, free: 7.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9335, allocations: 0 / 0.6541 GB, free: 7.43 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.963e-05/0.9335, allocations: 0 / 0.6541 GB, free: 7.43 MB / 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.003107/0.9366, allocations: 1.481 MB / 0.6556 GB, free: 5.891 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.9367, allocations: 16.03 kB / 0.6556 GB, free: 5.875 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001888/0.9369, allocations: 122.7 kB / 0.6557 GB, free: 5.746 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00175/0.9386, allocations: 386 kB / 0.6561 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002198/0.9409, allocations: 1.051 MB / 0.6571 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003949/0.9413, allocations: 125.9 kB / 0.6572 GB, free: 4.137 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.9414, allocations: 84 kB / 0.6573 GB, free: 4.055 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.9434, allocations: 0.9544 MB / 0.6582 GB, free: 3.055 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.9435, allocations: 7.938 kB / 0.6582 GB, free: 3.047 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.9436, allocations: 32 kB / 0.6583 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.779e-05/0.9436, allocations: 20 kB / 0.6583 GB, free: 2.996 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002195/0.9458, allocations: 0.8314 MB / 0.6591 GB, free: 2.164 MB / 494.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.00717/0.953, allocations: 4.835 MB / 0.6638 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.9547, allocations: 0.6092 MB / 0.6644 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001528/0.9562, allocations: 1.392 MB / 0.6658 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.9563, allocations: 38.56 kB / 0.6658 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.755e-06/0.9563, allocations: 0 / 0.6658 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007389/0.9637, allocations: 1.834 MB / 0.6676 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.9638, allocations: 59.39 kB / 0.6676 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00179/0.9656, allocations: 1.067 MB / 0.6687 GB, free: 7.602 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.266e-05/0.9657, allocations: 33.7 kB / 0.6687 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.9661, allocations: 0.5274 MB / 0.6692 GB, free: 7.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001653/0.9663, allocations: 153.8 kB / 0.6694 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.9664, allocations: 12 kB / 0.6694 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9665, allocations: 322 kB / 0.6697 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008165/0.9673, allocations: 284.9 kB / 0.67 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/0.9683, allocations: 497.9 kB / 0.6705 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008699/0.9692, allocations: 315.6 kB / 0.6708 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.9692, allocations: 0 / 0.6708 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002762/0.972, allocations: 0.9688 MB / 0.6717 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008091/0.9728, allocations: 1.58 MB / 0.6732 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/0.9729, allocations: 7.984 kB / 0.6732 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001441/0.9743, allocations: 328.7 kB / 0.6736 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005006/0.9748, allocations: 115.8 kB / 0.6737 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/0.9765, allocations: 0.9444 MB / 0.6746 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.9781, allocations: 187.2 kB / 0.6748 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.352e-05/0.9782, allocations: 24 kB / 0.6748 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.9782, allocations: 4 kB / 0.6748 GB, free: 1.094 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002312/0.9805, allocations: 0.8356 MB / 0.6756 GB, free: 260 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.9805, allocations: 7.938 kB / 0.6756 GB, free: 252 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.9818, allocations: 333 kB / 0.6759 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004631/0.9823, allocations: 115.9 kB / 0.6761 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/0.984, allocations: 0.9302 MB / 0.677 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.9855, allocations: 163.3 kB / 0.6771 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.368e-05/0.9855, allocations: 31.98 kB / 0.6771 GB, free: 14.66 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0007439/0.9863, allocations: 344.9 kB / 0.6775 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.9865, allocations: 110.6 kB / 0.6776 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00341/0.9899, allocations: 1.072 MB / 0.6786 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.438e-05/0.99, allocations: 11.98 kB / 0.6786 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.99, allocations: 3.938 kB / 0.6786 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.99, allocations: 0 / 0.6786 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008101/0.9981, allocations: 2.181 MB / 0.6808 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.715e-05/0.9982, allocations: 7.984 kB / 0.6808 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003243/0.9985, allocations: 55.92 kB / 0.6808 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/1, allocations: 322.9 kB / 0.6811 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.997e-05/1, allocations: 11.98 kB / 0.6812 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/1.002, allocations: 0.9698 MB / 0.6821 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/1.002, allocations: 7.938 kB / 0.6821 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005969/1.008, allocations: 1.298 MB / 0.6834 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.009, allocations: 283.5 kB / 0.6836 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/1.009, allocations: 15.95 kB / 0.6837 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001543/1.011, allocations: 107.8 kB / 0.6838 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/1.011, allocations: 35.89 kB / 0.6838 GB, free: 7.613 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/1.011, allocations: 23.98 kB / 0.6838 GB, free: 7.59 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002245/1.014, allocations: 0.7508 MB / 0.6846 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.875e-06/1.014, allocations: 0 / 0.6846 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003112/1.017, allocations: 0.5731 MB / 0.6851 GB, free: 6.258 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 (33): * Single equations (assignments): 28 * 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.008207/1.025, allocations: 2.744 MB / 0.6878 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005081/1.03, allocations: 1.054 MB / 0.6888 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/1.03, allocations: 0 / 0.6888 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.032, allocations: 323.5 kB / 0.6891 GB, free: 2.066 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004628/1.036, allocations: 0.498 MB / 0.6896 GB, free: 1.574 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/1.047, allocations: 5.647 MB / 0.6951 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.048, allocations: 1.085 MB / 0.6962 GB, free: 10.65 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002014/1.051, allocations: 212.1 kB / 0.6964 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009785/1.052, allocations: 415.3 kB / 0.6968 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of SimCode: time 2.645e-06/1.052, allocations: 0 / 0.6968 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0828/1.134, allocations: 33.1 MB / 0.7291 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.135, allocations: 254.4 kB / 0.7294 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.01/5.144, allocations: 7.938 kB / 0.7294 GB, free: 9.164 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: