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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001372/0.001372, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001427/0.001427, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.313/1.313, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.267/2.267, allocations: 437 MB / 0.7101 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 59.91 kB / 0.8688 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6514/0.6527, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06389/0.7166, allocations: 60.7 MB / 1.076 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.7323, allocations: 11.93 MB / 1.088 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.7343, allocations: 55.62 kB / 1.088 GB, free: 9.797 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001942/0.7362, allocations: 0.5751 MB / 1.088 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004763/0.741, allocations: 1.829 MB / 1.09 GB, free: 7.383 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002482/0.7435, allocations: 1.088 MB / 1.091 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00395/0.7475, allocations: 3.103 MB / 1.094 GB, free: 3.191 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001761/0.7493, allocations: 1.092 MB / 1.095 GB, free: 2.07 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.7523, allocations: 1.337 MB / 1.097 GB, free: 0.7305 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001496/0.7538, allocations: 0.9334 MB / 1.098 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001734/0.754, allocations: 120 kB / 1.098 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.7561, allocations: 1.45 MB / 1.099 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002295/0.7563, allocations: 290.9 kB / 1.099 GB, free: 13.94 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005988/0.7569, allocations: 0.6997 MB / 1.1 GB, free: 13.23 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002217/0.7591, allocations: 2.287 MB / 1.102 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7591, allocations: 4 kB / 1.102 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.193e-06/0.7592, allocations: 0 / 1.102 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.7592, allocations: 0 / 1.102 GB, free: 10.94 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.002503/0.7617, allocations: 1.722 MB / 1.104 GB, free: 9.152 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.7617, allocations: 12.03 kB / 1.104 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.7619, allocations: 118.9 kB / 1.104 GB, free: 9.016 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.7639, allocations: 410.8 kB / 1.105 GB, free: 8.613 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00178/0.7657, allocations: 1.132 MB / 1.106 GB, free: 7.426 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.7661, allocations: 121.9 kB / 1.106 GB, free: 7.305 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.7662, allocations: 80 kB / 1.106 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.768, allocations: 0.97 MB / 1.107 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.7681, allocations: 7.938 kB / 1.107 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.572e-05/0.7682, allocations: 32 kB / 1.107 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.7682, allocations: 20 kB / 1.107 GB, free: 6.156 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002077/0.7703, allocations: 0.8547 MB / 1.108 GB, free: 5.301 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.005758/0.776, allocations: 4.842 MB / 1.112 GB, free: 100 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003258/0.7793, allocations: 0.8007 MB / 1.113 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000672/0.78, allocations: 301.9 kB / 1.113 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/0.7807, allocations: 0.9025 MB / 1.114 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.7807, allocations: 42.48 kB / 1.114 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 1.683e-06/0.7807, allocations: 0 / 1.114 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.006713/0.7875, allocations: 1.751 MB / 1.116 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.7875, allocations: 55.41 kB / 1.116 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.7888, allocations: 1.055 MB / 1.117 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.232e-05/0.7889, allocations: 33.7 kB / 1.117 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003847/0.7893, allocations: 0.5196 MB / 1.118 GB, free: 10.36 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.7894, allocations: 153.8 kB / 1.118 GB, free: 10.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.7896, allocations: 126.1 kB / 1.118 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.7897, allocations: 333.9 kB / 1.118 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.7905, allocations: 302.9 kB / 1.119 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009746/0.7915, allocations: 0.4957 MB / 1.119 GB, free: 8.867 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.7931, allocations: 0.685 MB / 1.12 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.7931, allocations: 0 / 1.12 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003307/0.7964, allocations: 1.137 MB / 1.121 GB, free: 6.977 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.7964, allocations: 4 kB / 1.121 GB, free: 6.973 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.7965, allocations: 7.938 kB / 1.121 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.7976, allocations: 321 kB / 1.121 GB, free: 6.648 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/0.7981, allocations: 119.8 kB / 1.121 GB, free: 6.531 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001432/0.7996, allocations: 0.905 MB / 1.122 GB, free: 5.602 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.8007, allocations: 183.2 kB / 1.122 GB, free: 5.422 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.435e-05/0.8008, allocations: 27.98 kB / 1.122 GB, free: 5.395 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001069/0.8019, allocations: 0.4971 MB / 1.123 GB, free: 4.891 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009789/0.8029, allocations: 0.5018 MB / 1.123 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001533/0.8044, allocations: 0.668 MB / 1.124 GB, free: 3.578 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.8044, allocations: 4 kB / 1.124 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003209/0.8076, allocations: 1.113 MB / 1.125 GB, free: 2.449 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.8077, allocations: 8 kB / 1.125 GB, free: 2.441 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.8077, allocations: 4 kB / 1.125 GB, free: 2.438 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009752/0.8086, allocations: 305 kB / 1.125 GB, free: 2.137 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/0.8091, allocations: 123.8 kB / 1.126 GB, free: 2.016 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.8105, allocations: 0.9159 MB / 1.126 GB, free: 1.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.8115, allocations: 147.6 kB / 1.127 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.8116, allocations: 31.98 kB / 1.127 GB, free: 0.8984 MB / 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.0001838/0.8118, allocations: 220.1 kB / 1.127 GB, free: 0.6758 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001574/0.812, allocations: 106.7 kB / 1.127 GB, free: 0.5703 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.8141, allocations: 0.9338 MB / 1.128 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/0.8142, allocations: 4 kB / 1.128 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.8142, allocations: 3.938 kB / 1.128 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.8142, allocations: 3.984 kB / 1.128 GB, free: 15.61 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004741/0.8189, allocations: 2.155 MB / 1.13 GB, free: 13.37 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.819, allocations: 4 kB / 1.13 GB, free: 13.36 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.8192, allocations: 63.89 kB / 1.13 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009176/0.8202, allocations: 301.8 kB / 1.13 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.8202, allocations: 19.98 kB / 1.13 GB, free: 12.98 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.8216, allocations: 0.9507 MB / 1.131 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/0.8216, allocations: 0 / 1.131 GB, free: 12.01 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003349/0.825, allocations: 1.159 MB / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003412/0.8253, allocations: 267.5 kB / 1.133 GB, free: 10.53 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.8255, allocations: 11.94 kB / 1.133 GB, free: 10.52 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008415/0.8263, allocations: 95.8 kB / 1.133 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.572e-05/0.8264, allocations: 43.83 kB / 1.133 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.637e-05/0.8265, allocations: 23.98 kB / 1.133 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001051/0.8275, allocations: 0.7352 MB / 1.134 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8275, allocations: 0 / 1.134 GB, free: 9.613 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001388/0.8289, allocations: 0.5653 MB / 1.134 GB, free: 9.047 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.004404/0.8333, allocations: 1.967 MB / 1.136 GB, free: 7.027 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002974/0.8363, allocations: 1.12 MB / 1.137 GB, free: 5.91 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8363, allocations: 4 kB / 1.137 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008531/0.8372, allocations: 350.4 kB / 1.137 GB, free: 5.562 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.8393, allocations: 0.5087 MB / 1.138 GB, free: 5.062 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01735/0.8566, allocations: 8.952 MB / 1.147 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/0.8573, allocations: 1.061 MB / 1.148 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.000795/0.8581, allocations: 220.7 kB / 1.148 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005165/0.8586, allocations: 403.2 kB / 1.148 GB, free: 9.961 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.8586, allocations: 4 kB / 1.148 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.086/2.945, allocations: 32.67 MB / 1.18 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002671/2.945, allocations: 279 kB / 1.18 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.345/6.29, allocations: 0 / 1.18 GB, free: 9.379 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)