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.001725/0.001725, 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.002037/0.002038, 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.884/1.884, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.9871/0.9871, allocations: 132.2 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004858, allocations: 8 kB / 0.5033 GB, free: 4.195 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8476, allocations: 81.57 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.08851/0.9362, allocations: 51.26 MB / 0.633 GB, free: 13.23 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02275/0.959, allocations: 10.3 MB / 0.6431 GB, free: 2.918 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003839/0.9629, allocations: 51.69 kB / 0.6431 GB, free: 2.867 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003805/0.9668, allocations: 0.6219 MB / 0.6437 GB, free: 2.242 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.9782, allocations: 1.947 MB / 0.6456 GB, free: 296 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007021/0.9852, allocations: 1.313 MB / 0.6469 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007082/0.9923, allocations: 1.843 MB / 0.6487 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/0.995, allocations: 0.8096 MB / 0.6495 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004153/0.9992, allocations: 0.9847 MB / 0.6505 GB, free: 11.34 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/1.001, allocations: 0.6066 MB / 0.6511 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005066/1.002, allocations: 40 kB / 0.6511 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004914/1.007, allocations: 0.9907 MB / 0.6521 GB, free: 9.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006345/1.008, allocations: 195.1 kB / 0.6523 GB, free: 9.504 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001088/1.009, allocations: 285.1 kB / 0.6525 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00447/1.013, allocations: 1.582 MB / 0.6541 GB, free: 7.633 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.216e-06/1.013, allocations: 0 / 0.6541 GB, free: 7.633 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.55e-06/1.013, allocations: 0 / 0.6541 GB, free: 7.633 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.000107/1.013, allocations: 0 / 0.6541 GB, free: 7.633 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.005191/1.019, allocations: 1.485 MB / 0.6555 GB, free: 6.09 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.53e-05/1.019, allocations: 11.97 kB / 0.6555 GB, free: 6.078 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/1.019, allocations: 118.7 kB / 0.6556 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003265/1.022, allocations: 477.9 kB / 0.6561 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/1.025, allocations: 1.051 MB / 0.6571 GB, free: 4.375 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005274/1.026, allocations: 129.9 kB / 0.6572 GB, free: 4.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001885/1.026, allocations: 80 kB / 0.6573 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003042/1.029, allocations: 0.9934 MB / 0.6583 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.969e-05/1.029, allocations: 7.938 kB / 0.6583 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/1.029, allocations: 28 kB / 0.6583 GB, free: 3.098 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.507e-05/1.029, allocations: 20 kB / 0.6583 GB, free: 3.078 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00346/1.033, allocations: 0.8978 MB / 0.6592 GB, free: 2.18 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.01054/1.043, allocations: 4.924 MB / 0.664 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005213/1.049, allocations: 0.9151 MB / 0.6649 GB, free: 11.97 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009952/1.05, allocations: 0.8947 MB / 0.6658 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.026e-05/1.05, allocations: 42.56 kB / 0.6658 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=43): time 4.668e-06/1.05, allocations: 0 / 0.6658 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=43): time 0.01121/1.061, allocations: 1.935 MB / 0.6677 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/1.061, allocations: 55.41 kB / 0.6678 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002659/1.064, allocations: 1.071 MB / 0.6688 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001348/1.064, allocations: 33.7 kB / 0.6689 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006635/1.065, allocations: 0.5196 MB / 0.6694 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.065, allocations: 153.8 kB / 0.6695 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/1.065, allocations: 12 kB / 0.6695 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001933/1.065, allocations: 330 kB / 0.6698 GB, free: 6.652 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001368/1.067, allocations: 316.9 kB / 0.6701 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/1.068, allocations: 0.5219 MB / 0.6707 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0014/1.07, allocations: 350 kB / 0.671 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/1.07, allocations: 0 / 0.671 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.005651/1.075, allocations: 1.227 MB / 0.6722 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00101/1.076, allocations: 1.663 MB / 0.6738 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/1.076, allocations: 7.938 kB / 0.6738 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/1.078, allocations: 331.2 kB / 0.6741 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008283/1.079, allocations: 123.8 kB / 0.6743 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002234/1.081, allocations: 0.9426 MB / 0.6752 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/1.083, allocations: 187.2 kB / 0.6754 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/1.084, allocations: 27.98 kB / 0.6754 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.084, allocations: 10.19 kB / 0.6754 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004914/1.089, allocations: 1.07 MB / 0.6764 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/1.089, allocations: 8 kB / 0.6764 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00161/1.09, allocations: 332.9 kB / 0.6768 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007971/1.091, allocations: 131.8 kB / 0.6769 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/1.093, allocations: 0.929 MB / 0.6778 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.095, allocations: 167.3 kB / 0.678 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/1.095, allocations: 35.98 kB / 0.678 GB, free: 14.04 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.0008553/1.096, allocations: 348.9 kB / 0.6783 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003523/1.097, allocations: 118.6 kB / 0.6784 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003547/1.1, allocations: 0.9765 MB / 0.6794 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.449e-05/1.1, allocations: 11.98 kB / 0.6794 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.084e-05/1.1, allocations: 3.953 kB / 0.6794 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/1.1, allocations: 0 / 0.6794 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008159/1.108, allocations: 2.265 MB / 0.6816 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.326e-05/1.108, allocations: 0 / 0.6816 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004344/1.109, allocations: 68.17 kB / 0.6817 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/1.11, allocations: 320.6 kB / 0.682 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/1.111, allocations: 12 kB / 0.682 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002361/1.113, allocations: 0.9776 MB / 0.6829 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.113, allocations: 0 / 0.6829 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005731/1.119, allocations: 1.375 MB / 0.6843 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/1.12, allocations: 287.4 kB / 0.6846 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.12, allocations: 15.97 kB / 0.6846 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/1.121, allocations: 119.8 kB / 0.6847 GB, free: 6.922 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001287/1.122, allocations: 35.91 kB / 0.6847 GB, free: 6.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/1.122, allocations: 23.98 kB / 0.6848 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00192/1.124, allocations: 0.7469 MB / 0.6855 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/1.124, allocations: 0 / 0.6855 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002566/1.126, allocations: 0.5575 MB / 0.686 GB, free: 5.551 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.007657/1.134, allocations: 2.781 MB / 0.6887 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004936/1.139, allocations: 1.155 MB / 0.6899 GB, free: 1.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.139, allocations: 4 kB / 0.6899 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/1.14, allocations: 372.4 kB / 0.6902 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003944/1.144, allocations: 0.4952 MB / 0.6907 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01391/1.158, allocations: 6.082 MB / 0.6967 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/1.159, allocations: 1.085 MB / 0.6977 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002053/1.161, allocations: 220.2 kB / 0.6979 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009189/1.162, allocations: 415.3 kB / 0.6983 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of SimCode: time 2.454e-06/1.162, allocations: 0 / 0.6983 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.28, allocations: 32.82 MB / 0.7304 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003123/1.28, allocations: 232 kB / 0.7306 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.326/5.606, allocations: 3.938 kB / 0.7306 GB, free: 8.129 MB / 0.5606 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/linux/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) Environment - environmentSimulation: