Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.001418/0.001418, allocations: 100.1 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.001853/0.001853, 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 2.362/2.362, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.279/1.279, allocations: 132.2 MB / 423.2 MB, free: 2.203 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005221/0.0005221, allocations: 11.94 kB / 0.5033 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7147/0.7153, allocations: 81.58 MB / 0.583 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.0866/0.8019, allocations: 51.3 MB / 0.6331 GB, free: 13.16 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02564/0.8276, allocations: 10.3 MB / 0.6431 GB, free: 2.844 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.8315, allocations: 43.69 kB / 0.6432 GB, free: 2.801 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.8359, allocations: 0.6297 MB / 0.6438 GB, free: 2.168 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01152/0.8475, allocations: 1.951 MB / 0.6457 GB, free: 216 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007032/0.8545, allocations: 1.309 MB / 0.647 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.006847/0.8614, allocations: 1.851 MB / 0.6488 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002689/0.8641, allocations: 0.8381 MB / 0.6496 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.8682, allocations: 0.9847 MB / 0.6506 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002384/0.8706, allocations: 0.6183 MB / 0.6512 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.871, allocations: 44 kB / 0.6512 GB, free: 10.56 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004429/0.8755, allocations: 0.9946 MB / 0.6522 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006098/0.8761, allocations: 203.1 kB / 0.6524 GB, free: 9.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009363/0.8771, allocations: 281 kB / 0.6526 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004441/0.8815, allocations: 1.598 MB / 0.6542 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.8816, allocations: 0 / 0.6542 GB, free: 7.484 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8816, allocations: 0 / 0.6542 GB, free: 7.484 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.165e-05/0.8817, allocations: 0 / 0.6542 GB, free: 7.484 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.005167/0.8868, allocations: 1.501 MB / 0.6557 GB, free: 5.926 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.148e-05/0.8869, allocations: 12.03 kB / 0.6557 GB, free: 5.914 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003767/0.8873, allocations: 122.8 kB / 0.6558 GB, free: 5.785 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003767/0.8911, allocations: 0.5174 MB / 0.6563 GB, free: 5.266 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003648/0.8948, allocations: 1.051 MB / 0.6573 GB, free: 4.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005423/0.8953, allocations: 129.9 kB / 0.6574 GB, free: 4.031 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002808/0.8956, allocations: 83.98 kB / 0.6575 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003588/0.8992, allocations: 1.021 MB / 0.6585 GB, free: 2.895 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.8993, allocations: 4 kB / 0.6585 GB, free: 2.891 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001346/0.8994, allocations: 28 kB / 0.6585 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.532e-05/0.8995, allocations: 23.98 kB / 0.6586 GB, free: 2.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00403/0.9035, allocations: 0.9993 MB / 0.6595 GB, free: 1.84 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.01207/0.9156, allocations: 4.73 MB / 0.6642 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006264/0.9219, allocations: 1.117 MB / 0.6653 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001703/0.9237, allocations: 1.033 MB / 0.6663 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.659e-05/0.9238, allocations: 43 kB / 0.6663 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=53): time 5.671e-06/0.9238, allocations: 0 / 0.6663 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of matching and sorting (n=53): time 0.01196/0.9358, allocations: 2.135 MB / 0.6684 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.385e-05/0.9359, allocations: 67.78 kB / 0.6685 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002355/0.9383, allocations: 0.9512 MB / 0.6694 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.9385, allocations: 37.7 kB / 0.6694 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006827/0.9392, allocations: 0.5002 MB / 0.6699 GB, free: 6.566 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/0.9395, allocations: 185.2 kB / 0.6701 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.015e-05/0.9396, allocations: 16 kB / 0.6701 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002752/0.9399, allocations: 330 kB / 0.6704 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.9416, allocations: 372.9 kB / 0.6708 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001696/0.9433, allocations: 0.5342 MB / 0.6713 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001641/0.9449, allocations: 398 kB / 0.6717 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.945, allocations: 0 / 0.6717 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005984/0.9509, allocations: 1.283 MB / 0.6729 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006733/0.9517, allocations: 0.9616 MB / 0.6739 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.819e-05/0.9517, allocations: 7.984 kB / 0.6739 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001804/0.9535, allocations: 332.6 kB / 0.6742 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/0.9545, allocations: 143.8 kB / 0.6743 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002362/0.9569, allocations: 0.9375 MB / 0.6752 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001865/0.9588, allocations: 179.3 kB / 0.6754 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002139/0.959, allocations: 27.98 kB / 0.6754 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.9591, allocations: 4 kB / 0.6754 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005432/0.9645, allocations: 1.15 MB / 0.6766 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9645, allocations: 0 / 0.6766 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/0.9663, allocations: 328.8 kB / 0.6769 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009375/0.9673, allocations: 147.8 kB / 0.677 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.9695, allocations: 0.9269 MB / 0.6779 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001846/0.9713, allocations: 179.3 kB / 0.6781 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000129/0.9715, allocations: 27.98 kB / 0.6781 GB, free: 13.95 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (55): * Single equations (assignments): 54 * 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.0009056/0.9724, allocations: 345 kB / 0.6785 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004402/0.9729, allocations: 110.7 kB / 0.6786 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005017/0.9779, allocations: 1.22 MB / 0.6797 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-05/0.9779, allocations: 11.98 kB / 0.6798 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.978, allocations: 0 / 0.6798 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.978, allocations: 0 / 0.6798 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007943/0.9859, allocations: 2.343 MB / 0.682 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/0.986, allocations: 0 / 0.682 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007869/0.9868, allocations: 111.9 kB / 0.6822 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001746/0.9886, allocations: 326.8 kB / 0.6825 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.401e-05/0.9887, allocations: 19.98 kB / 0.6825 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/0.9913, allocations: 0.966 MB / 0.6834 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.9913, allocations: 0 / 0.6834 GB, free: 8.391 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/0.9973, allocations: 1.487 MB / 0.6849 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.9985, allocations: 295.4 kB / 0.6852 GB, free: 6.527 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.999, allocations: 12 kB / 0.6852 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002052/1.001, allocations: 123.8 kB / 0.6853 GB, free: 6.395 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002195/1.001, allocations: 48.33 kB / 0.6853 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001347/1.001, allocations: 23.98 kB / 0.6854 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002347/1.004, allocations: 0.6676 MB / 0.686 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.91e-07/1.004, allocations: 0 / 0.686 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003207/1.007, allocations: 0.5691 MB / 0.6866 GB, free: 5.078 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.006867/1.014, allocations: 2.545 MB / 0.6891 GB, free: 2.473 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005731/1.02, allocations: 1.385 MB / 0.6904 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.02, allocations: 0 / 0.6904 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001936/1.022, allocations: 488.8 kB / 0.6909 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003898/1.026, allocations: 0.4941 MB / 0.6914 GB, free: 132 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/1.036, allocations: 4.655 MB / 0.6959 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/1.038, allocations: 1.098 MB / 0.697 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001967/1.04, allocations: 234.8 kB / 0.6972 GB, free: 10 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/1.041, allocations: 419.3 kB / 0.6976 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of SimCode: time 2.545e-06/1.041, allocations: 0 / 0.6976 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.142, allocations: 32.86 MB / 0.7297 GB, free: 9.273 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003855/1.142, allocations: 256.9 kB / 0.7299 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.915/5.057, allocations: 0 / 0.7299 GB, free: 8.949 MB / 0.5606 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1) Environment - environmentSimulation: