Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="Buildings_10_Buildings_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.0007909/0.0007909, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.004992/0.004992, allocations: 173.2 kB / 16.26 MB, free: 6.613 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.228/1.228, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.799/2.799, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003272, allocations: 8 kB / 0.8729 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6285/0.6288, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.05529/0.6842, allocations: 59.75 MB / 1.081 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01686/0.7011, allocations: 11.93 MB / 1.093 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002345/0.7035, allocations: 55.62 kB / 1.093 GB, free: 7.898 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002251/0.7057, allocations: 0.5399 MB / 1.094 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.006062/0.7118, allocations: 1.804 MB / 1.095 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/0.7151, allocations: 1.071 MB / 1.097 GB, free: 4.48 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.005281/0.7204, allocations: 3.906 MB / 1.1 GB, free: 0.5625 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001924/0.7223, allocations: 0.8941 MB / 1.101 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.725, allocations: 1.116 MB / 1.102 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.7264, allocations: 0.8514 MB / 1.103 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.7266, allocations: 44 kB / 1.103 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002766/0.7294, allocations: 1.345 MB / 1.104 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003213/0.7297, allocations: 210.8 kB / 1.105 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.7307, allocations: 0.6311 MB / 1.105 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003224/0.734, allocations: 2.192 MB / 1.107 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.734, allocations: 3.938 kB / 1.107 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.734, allocations: 0 / 1.107 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.935e-05/0.7341, allocations: 0 / 1.107 GB, free: 9.215 MB / 0.8575 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.00296/0.737, allocations: 1.477 MB / 1.109 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.7371, allocations: 16.03 kB / 1.109 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002359/0.7373, allocations: 118.9 kB / 1.109 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002189/0.7395, allocations: 470.8 kB / 1.109 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/0.7416, allocations: 1.132 MB / 1.111 GB, free: 5.887 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003455/0.742, allocations: 125.9 kB / 1.111 GB, free: 5.766 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.7421, allocations: 84 kB / 1.111 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.7441, allocations: 1.001 MB / 1.112 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.7441, allocations: 0 / 1.112 GB, free: 4.637 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.505e-05/0.7442, allocations: 32 kB / 1.112 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.493e-05/0.7443, allocations: 20 kB / 1.112 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/0.7465, allocations: 0.9133 MB / 1.113 GB, free: 3.676 MB / 0.8575 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.005683/0.7522, allocations: 4.886 MB / 1.117 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003384/0.7556, allocations: 0.9129 MB / 1.118 GB, free: 13.51 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007211/0.7563, allocations: 324.7 kB / 1.119 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.7569, allocations: 0.9025 MB / 1.12 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.7569, allocations: 42.48 kB / 1.12 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 1.793e-06/0.7569, allocations: 0 / 1.12 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.007319/0.7642, allocations: 1.95 MB / 1.121 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.936e-05/0.7643, allocations: 59.41 kB / 1.122 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001327/0.7656, allocations: 1.051 MB / 1.123 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.7657, allocations: 37.7 kB / 1.123 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.7661, allocations: 0.5274 MB / 1.123 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.7662, allocations: 149.8 kB / 1.123 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-05/0.7663, allocations: 49.69 kB / 1.123 GB, free: 8.137 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001044/0.7664, allocations: 325.9 kB / 1.124 GB, free: 7.812 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008645/0.7672, allocations: 324.9 kB / 1.124 GB, free: 7.496 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/0.7683, allocations: 0.5308 MB / 1.124 GB, free: 6.883 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001657/0.7699, allocations: 0.7318 MB / 1.125 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7699, allocations: 0 / 1.125 GB, free: 6.094 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003546/0.7735, allocations: 1.212 MB / 1.126 GB, free: 4.871 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001426/0.7736, allocations: 219.1 kB / 1.127 GB, free: 4.598 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.7737, allocations: 4 kB / 1.127 GB, free: 4.594 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.7749, allocations: 324.7 kB / 1.127 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005304/0.7755, allocations: 131.8 kB / 1.127 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/0.777, allocations: 0.9484 MB / 1.128 GB, free: 3.172 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7784, allocations: 187.3 kB / 1.128 GB, free: 2.988 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.367e-05/0.7785, allocations: 31.98 kB / 1.128 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/0.7785, allocations: 0 / 1.128 GB, free: 2.957 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00333/0.7818, allocations: 1.078 MB / 1.129 GB, free: 1.875 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7818, allocations: 4 kB / 1.129 GB, free: 1.871 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.783, allocations: 329.1 kB / 1.13 GB, free: 1.547 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/0.7835, allocations: 123.8 kB / 1.13 GB, free: 1.426 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.785, allocations: 0.944 MB / 1.131 GB, free: 468 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.7862, allocations: 163.3 kB / 1.131 GB, free: 304 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.728e-05/0.7863, allocations: 31.98 kB / 1.131 GB, free: 272 kB / 0.8731 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.0005713/0.7869, allocations: 359.8 kB / 1.131 GB, free: 15.9 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/0.7871, allocations: 106.7 kB / 1.131 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002446/0.7895, allocations: 0.9845 MB / 1.132 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.387e-05/0.7896, allocations: 4 kB / 1.132 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.7896, allocations: 0 / 1.132 GB, free: 14.8 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7896, allocations: 11.92 kB / 1.132 GB, free: 14.79 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005471/0.7951, allocations: 2.257 MB / 1.134 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.7951, allocations: 0 / 1.134 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.7954, allocations: 67.89 kB / 1.134 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.7965, allocations: 324.9 kB / 1.135 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/0.7965, allocations: 23.92 kB / 1.135 GB, free: 12.04 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001504/0.798, allocations: 0.9673 MB / 1.136 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.798, allocations: 7.938 kB / 1.136 GB, free: 11.04 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.8017, allocations: 1.264 MB / 1.137 GB, free: 9.727 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005212/0.8023, allocations: 291.4 kB / 1.137 GB, free: 9.422 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.8025, allocations: 8 kB / 1.137 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.8035, allocations: 111.9 kB / 1.137 GB, free: 9.305 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.8036, allocations: 31.95 kB / 1.137 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.67e-05/0.8036, allocations: 23.98 kB / 1.137 GB, free: 9.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001298/0.8049, allocations: 0.7469 MB / 1.138 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.41e-07/0.8049, allocations: 0 / 1.138 GB, free: 8.496 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001638/0.8066, allocations: 0.5574 MB / 1.139 GB, free: 7.938 MB / 0.8887 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.004516/0.8111, allocations: 2.071 MB / 1.141 GB, free: 5.809 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003079/0.8142, allocations: 1.165 MB / 1.142 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8142, allocations: 0 / 1.142 GB, free: 4.648 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008699/0.8151, allocations: 366.5 kB / 1.142 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.8177, allocations: 0.5063 MB / 1.143 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.8362, allocations: 9.23 MB / 1.152 GB, free: 10.12 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007004/0.8369, allocations: 1.061 MB / 1.153 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.001005/0.838, allocations: 228.6 kB / 1.153 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005417/0.8385, allocations: 399.3 kB / 1.153 GB, free: 8.406 MB / 0.9044 GB Notification: Performance of SimCode: time 7.31e-07/0.8385, allocations: 4 kB / 1.153 GB, free: 8.402 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0581/0.8966, allocations: 31.98 MB / 1.185 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.8969, allocations: 271.1 kB / 1.185 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.462, allocations: 0 / 1.185 GB, free: 8.504 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_TEva.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)