Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_dev_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.001423/0.001423, allocations: 99.86 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.001528/0.001528, allocations: 177.3 kB / 15.94 MB, free: 228 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.933/1.933, allocations: 223.2 MB / 239.9 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.198/1.198, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004964/0.0004965, allocations: 8 kB / 0.5069 GB, free: 5.16 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.177, allocations: 82.31 MB / 0.5873 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3258/0.5029, allocations: 51.24 MB / 0.6373 GB, free: 23.9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01212/0.515, allocations: 10.31 MB / 0.6474 GB, free: 16.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00176/0.5168, allocations: 54.84 kB / 0.6474 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.5187, allocations: 0.6235 MB / 0.648 GB, free: 16.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005542/0.5243, allocations: 1.945 MB / 0.6499 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003519/0.5278, allocations: 1.311 MB / 0.6512 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003249/0.5311, allocations: 1.851 MB / 0.653 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.5323, allocations: 0.8045 MB / 0.6538 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.5344, allocations: 0.978 MB / 0.6548 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.5355, allocations: 0.6021 MB / 0.6553 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001498/0.5357, allocations: 40.78 kB / 0.6554 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.5379, allocations: 0.9961 MB / 0.6564 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.5381, allocations: 193.8 kB / 0.6565 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.5384, allocations: 283.4 kB / 0.6568 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.5403, allocations: 1.586 MB / 0.6584 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5403, allocations: 0 / 0.6584 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5403, allocations: 0 / 0.6584 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.162e-05/0.5403, allocations: 0 / 0.6584 GB, free: 11.29 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.002874/0.5432, allocations: 1.479 MB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5433, allocations: 9.062 kB / 0.6598 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001632/0.5434, allocations: 122.4 kB / 0.6599 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.5459, allocations: 470.2 kB / 0.6604 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.5488, allocations: 1.061 MB / 0.6614 GB, free: 9.438 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003985/0.5492, allocations: 127.8 kB / 0.6615 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001599/0.5494, allocations: 86.84 kB / 0.6616 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/0.5517, allocations: 0.9967 MB / 0.6626 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5517, allocations: 0.75 kB / 0.6626 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.487e-05/0.5518, allocations: 31.69 kB / 0.6626 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.5518, allocations: 19.12 kB / 0.6626 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/0.5543, allocations: 0.9053 MB / 0.6635 GB, free: 8.602 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.007042/0.5613, allocations: 4.908 MB / 0.6683 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003664/0.565, allocations: 0.9099 MB / 0.6692 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.5656, allocations: 0.8973 MB / 0.6701 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.5656, allocations: 37.64 kB / 0.6701 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.5656, allocations: 0 / 0.6701 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.007802/0.5734, allocations: 1.935 MB / 0.672 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.5735, allocations: 57.16 kB / 0.6721 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.5753, allocations: 1.069 MB / 0.6731 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.5754, allocations: 37.55 kB / 0.6731 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004266/0.5758, allocations: 0.5261 MB / 0.6737 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.5759, allocations: 158.3 kB / 0.6738 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.053e-05/0.576, allocations: 9.406 kB / 0.6738 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.207e-05/0.576, allocations: 329.7 kB / 0.6741 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009179/0.577, allocations: 319.7 kB / 0.6744 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.578, allocations: 0.5134 MB / 0.6749 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009239/0.579, allocations: 355.9 kB / 0.6753 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.579, allocations: 0.5938 kB / 0.6753 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003705/0.5827, allocations: 1.225 MB / 0.6765 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004445/0.5831, allocations: 1.665 MB / 0.6781 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5832, allocations: 5.5 kB / 0.6781 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.5845, allocations: 331 kB / 0.6784 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005502/0.585, allocations: 130.5 kB / 0.6786 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001483/0.5865, allocations: 0.9373 MB / 0.6795 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001475/0.588, allocations: 192.7 kB / 0.6796 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.779e-05/0.5881, allocations: 33.52 kB / 0.6797 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.5881, allocations: 7.297 kB / 0.6797 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003412/0.5915, allocations: 1.072 MB / 0.6807 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.5916, allocations: 5.594 kB / 0.6807 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.5927, allocations: 320.9 kB / 0.681 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/0.5933, allocations: 126.2 kB / 0.6812 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/0.5948, allocations: 0.9336 MB / 0.6821 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.5963, allocations: 177.6 kB / 0.6822 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.159e-05/0.5964, allocations: 29.2 kB / 0.6823 GB, free: 13.06 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 (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.000722/0.5971, allocations: 348 kB / 0.6826 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004011/0.5975, allocations: 115.1 kB / 0.6827 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002965/0.6005, allocations: 0.9733 MB / 0.6837 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.6005, allocations: 6.438 kB / 0.6837 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.6005, allocations: 1.578 kB / 0.6837 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6005, allocations: 2.578 kB / 0.6837 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006525/0.6071, allocations: 2.272 MB / 0.6859 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.6071, allocations: 3.266 kB / 0.6859 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.6074, allocations: 74.77 kB / 0.686 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001222/0.6087, allocations: 327.2 kB / 0.6863 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.888e-05/0.6088, allocations: 16.27 kB / 0.6863 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/0.6106, allocations: 0.9598 MB / 0.6872 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.6106, allocations: 6.188 kB / 0.6872 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004382/0.615, allocations: 1.374 MB / 0.6886 GB, free: 9.867 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008899/0.6159, allocations: 289.8 kB / 0.6889 GB, free: 9.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003884/0.6163, allocations: 17.94 kB / 0.6889 GB, free: 9.637 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.6176, allocations: 111.7 kB / 0.689 GB, free: 9.621 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.6177, allocations: 30.94 kB / 0.689 GB, free: 9.617 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.443e-05/0.6178, allocations: 24.05 kB / 0.689 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001687/0.6195, allocations: 0.76 MB / 0.6898 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6195, allocations: 0 / 0.6898 GB, free: 9.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002619/0.6221, allocations: 0.5587 MB / 0.6903 GB, free: 9.172 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.005918/0.628, allocations: 2.784 MB / 0.693 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003595/0.6316, allocations: 1.162 MB / 0.6942 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.6317, allocations: 4.125 kB / 0.6942 GB, free: 6.945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00098/0.6327, allocations: 357.8 kB / 0.6945 GB, free: 6.855 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.6355, allocations: 0.4991 MB / 0.695 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00845/0.644, allocations: 6.077 MB / 0.7009 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007211/0.6447, allocations: 1.09 MB / 0.702 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001175/0.6459, allocations: 219.6 kB / 0.7022 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005747/0.6465, allocations: 406.8 kB / 0.7026 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of SimCode: time 7.41e-07/0.6465, allocations: 0 / 0.7026 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.32/2.967, allocations: 32.84 MB / 0.7347 GB, free: 4.316 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/2.967, allocations: 247.8 kB / 0.7349 GB, free: 4.07 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.651/5.618, allocations: 0 / 0.7349 GB, free: 4.07 MB / 0.545 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Examples_Carnot_TEva.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: