Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",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.001002/0.001002, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008128/0.008128, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.244/1.244, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.705/0.705, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000297/0.000297, allocations: 12.78 kB / 0.5041 GB, free: 3.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3648, allocations: 81.57 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.0538/0.4186, allocations: 59.7 MB / 0.642 GB, free: 4.543 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01462/0.4332, allocations: 11.9 MB / 0.6537 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.4344, allocations: 51.62 kB / 0.6537 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001254/0.4356, allocations: 0.5477 MB / 0.6542 GB, free: 8.016 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003451/0.4391, allocations: 1.804 MB / 0.656 GB, free: 6.203 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.4412, allocations: 1.08 MB / 0.6571 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003479/0.4447, allocations: 3.893 MB / 0.6609 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001092/0.4458, allocations: 0.9058 MB / 0.6617 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001754/0.4476, allocations: 1.12 MB / 0.6628 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009551/0.4485, allocations: 0.8592 MB / 0.6637 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.529e-05/0.4486, allocations: 40 kB / 0.6637 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002076/0.4507, allocations: 1.329 MB / 0.665 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001924/0.4509, allocations: 218.9 kB / 0.6652 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005149/0.4514, allocations: 0.6272 MB / 0.6658 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.4536, allocations: 2.196 MB / 0.668 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4536, allocations: 0 / 0.668 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.4536, allocations: 4 kB / 0.668 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.4536, allocations: 0 / 0.668 GB, free: 9.875 MB / 0.4981 GB 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.002377/0.456, allocations: 1.485 MB / 0.6694 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.456, allocations: 12.03 kB / 0.6694 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001295/0.4562, allocations: 122.9 kB / 0.6696 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.4583, allocations: 478.6 kB / 0.67 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.4601, allocations: 1.128 MB / 0.6711 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003623/0.4605, allocations: 121.9 kB / 0.6712 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.4606, allocations: 87.98 kB / 0.6713 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.4625, allocations: 1.009 MB / 0.6723 GB, free: 5.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/0.4625, allocations: 4 kB / 0.6723 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.4626, allocations: 28 kB / 0.6723 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.913e-05/0.4626, allocations: 20 kB / 0.6724 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.4649, allocations: 0.9133 MB / 0.6732 GB, free: 4.312 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.005583/0.4705, allocations: 4.881 MB / 0.678 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003571/0.4741, allocations: 0.9028 MB / 0.6789 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007454/0.4748, allocations: 320.7 kB / 0.6792 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005516/0.4754, allocations: 0.9025 MB / 0.6801 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.4754, allocations: 38.56 kB / 0.6801 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.613e-06/0.4754, allocations: 0 / 0.6801 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007329/0.4828, allocations: 1.95 MB / 0.682 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.4828, allocations: 59.34 kB / 0.6821 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.4841, allocations: 1.055 MB / 0.6831 GB, free: 9.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.984e-05/0.4842, allocations: 37.7 kB / 0.6831 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003884/0.4846, allocations: 0.5235 MB / 0.6837 GB, free: 9 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.4847, allocations: 149.8 kB / 0.6838 GB, free: 8.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.422e-05/0.4848, allocations: 49.69 kB / 0.6838 GB, free: 8.797 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.398e-05/0.4849, allocations: 333.9 kB / 0.6842 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008945/0.4858, allocations: 324.9 kB / 0.6845 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/0.4869, allocations: 0.5258 MB / 0.685 GB, free: 7.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.4885, allocations: 0.7325 MB / 0.6857 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.4885, allocations: 0 / 0.6857 GB, free: 6.754 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0035/0.492, allocations: 1.227 MB / 0.6869 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.4922, allocations: 213.6 kB / 0.6871 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4922, allocations: 4 kB / 0.6871 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001231/0.4934, allocations: 332.6 kB / 0.6874 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005292/0.494, allocations: 127.8 kB / 0.6876 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.4954, allocations: 0.9425 MB / 0.6885 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.4966, allocations: 191.3 kB / 0.6887 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.018e-05/0.4967, allocations: 27.98 kB / 0.6887 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.41e-06/0.4967, allocations: 6.656 kB / 0.6887 GB, free: 3.602 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003237/0.4999, allocations: 1.066 MB / 0.6897 GB, free: 2.531 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.5, allocations: 8.062 kB / 0.6897 GB, free: 2.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001062/0.501, allocations: 324 kB / 0.69 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005169/0.5016, allocations: 127.8 kB / 0.6902 GB, free: 2.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.5029, allocations: 0.9309 MB / 0.6911 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009842/0.5039, allocations: 171.3 kB / 0.6912 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.442e-05/0.504, allocations: 31.98 kB / 0.6913 GB, free: 0.9258 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003663/0.5043, allocations: 348.9 kB / 0.6916 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.5045, allocations: 106.7 kB / 0.6917 GB, free: 480 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002301/0.5068, allocations: 0.9847 MB / 0.6927 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5068, allocations: 4 kB / 0.6927 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5068, allocations: 3.938 kB / 0.6927 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5069, allocations: 12.08 kB / 0.6927 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/0.5117, allocations: 2.25 MB / 0.6949 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/0.5118, allocations: 11.98 kB / 0.6949 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.512, allocations: 67.89 kB / 0.695 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009924/0.513, allocations: 324.5 kB / 0.6953 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.5131, allocations: 20 kB / 0.6953 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/0.5145, allocations: 0.9666 MB / 0.6962 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5145, allocations: 7.938 kB / 0.6962 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003584/0.5181, allocations: 1.264 MB / 0.6975 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003318/0.5184, allocations: 279.5 kB / 0.6977 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.5186, allocations: 8 kB / 0.6977 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000869/0.5194, allocations: 115.8 kB / 0.6979 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.287e-05/0.5195, allocations: 43.83 kB / 0.6979 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.383e-05/0.5196, allocations: 23.98 kB / 0.6979 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00101/0.5206, allocations: 0.7469 MB / 0.6987 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5206, allocations: 0 / 0.6987 GB, free: 9.148 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001257/0.5219, allocations: 0.5574 MB / 0.6992 GB, free: 8.59 MB / 0.5294 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00441/0.5263, allocations: 2.073 MB / 0.7012 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003028/0.5293, allocations: 1.165 MB / 0.7024 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5293, allocations: 0 / 0.7024 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008779/0.5302, allocations: 374.4 kB / 0.7027 GB, free: 4.938 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/0.5329, allocations: 0.4931 MB / 0.7032 GB, free: 4.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.551, allocations: 9.214 MB / 0.7122 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005741/0.5516, allocations: 1.069 MB / 0.7132 GB, free: 9.703 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008219/0.5524, allocations: 216.7 kB / 0.7134 GB, free: 9.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004951/0.5529, allocations: 407.3 kB / 0.7138 GB, free: 9.09 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.5529, allocations: 0 / 0.7138 GB, free: 9.09 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9023/1.455, allocations: 31.97 MB / 0.7451 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000404/1.456, allocations: 260.9 kB / 0.7453 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.843/4.299, allocations: 4 kB / 0.7453 GB, free: 9.332 MB / 0.5762 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)