Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y",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.001193/0.001192, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001146/0.001146, allocations: 190.3 kB / 16.25 MB, free: 6.621 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.324/1.324, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.336/2.336, allocations: 437 MB / 0.7101 GB, free: 5.238 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.14 kB / 0.8688 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6725/0.674, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.05736/0.7314, allocations: 74.54 MB / 1.09 GB, free: 7.996 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.7458, allocations: 12.67 MB / 1.102 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00138/0.7472, allocations: 59.62 kB / 1.102 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.7487, allocations: 0.7112 MB / 1.103 GB, free: 10.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.004261/0.753, allocations: 2.302 MB / 1.105 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002329/0.7553, allocations: 1.278 MB / 1.106 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0035/0.7589, allocations: 4.413 MB / 1.111 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001384/0.7602, allocations: 1.429 MB / 1.112 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00259/0.7628, allocations: 1.631 MB / 1.114 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001193/0.7641, allocations: 1.237 MB / 1.115 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001832/0.7642, allocations: 160 kB / 1.115 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002061/0.7663, allocations: 1.415 MB / 1.116 GB, free: 12.6 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002936/0.7666, allocations: 402.6 kB / 1.117 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0006922/0.7673, allocations: 0.906 MB / 1.118 GB, free: 11.29 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.7699, allocations: 2.84 MB / 1.12 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.7699, allocations: 0 / 1.12 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7699, allocations: 4 kB / 1.12 GB, free: 8.441 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.543e-05/0.7699, allocations: 0 / 1.12 GB, free: 8.441 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003067/0.773, allocations: 2.075 MB / 1.122 GB, free: 6.301 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.773, allocations: 12.03 kB / 1.122 GB, free: 6.289 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.7732, allocations: 148.1 kB / 1.123 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006945/0.7739, allocations: 230.8 kB / 1.123 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001958/0.7759, allocations: 1.493 MB / 1.124 GB, free: 4.359 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.7759, allocations: 78 kB / 1.124 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.7761, allocations: 104 kB / 1.124 GB, free: 4.184 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.7778, allocations: 1.104 MB / 1.126 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.7779, allocations: 3.938 kB / 1.126 GB, free: 3.039 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-05/0.7779, allocations: 47.98 kB / 1.126 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.087e-05/0.778, allocations: 24 kB / 1.126 GB, free: 2.969 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001657/0.7796, allocations: 0.8861 MB / 1.126 GB, free: 2.086 MB / 0.8731 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.004876/0.7845, allocations: 4.9 MB / 1.131 GB, free: 12.9 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.7858, allocations: 0.6209 MB / 1.132 GB, free: 12.27 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006296/0.7864, allocations: 346.3 kB / 1.132 GB, free: 11.93 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005431/0.787, allocations: 0.8277 MB / 1.133 GB, free: 10.92 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.787, allocations: 39.12 kB / 1.133 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=61): time 1.754e-06/0.787, allocations: 4 kB / 1.133 GB, free: 10.87 MB / 0.8887 GB Notification: Performance of matching and sorting (n=61): time 0.006402/0.7934, allocations: 1.681 MB / 1.135 GB, free: 9.156 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.7934, allocations: 59.97 kB / 1.135 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/0.7947, allocations: 1.21 MB / 1.136 GB, free: 7.859 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-05/0.7948, allocations: 41.7 kB / 1.136 GB, free: 7.812 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004232/0.7952, allocations: 0.5987 MB / 1.137 GB, free: 7.207 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.7954, allocations: 212.9 kB / 1.137 GB, free: 6.996 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.7956, allocations: 158.5 kB / 1.137 GB, free: 6.836 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.7957, allocations: 337.9 kB / 1.137 GB, free: 6.5 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005893/0.7963, allocations: 292.7 kB / 1.137 GB, free: 6.211 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007242/0.797, allocations: 495.8 kB / 1.138 GB, free: 5.648 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.7983, allocations: 0.709 MB / 1.139 GB, free: 4.887 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.7983, allocations: 3.938 kB / 1.139 GB, free: 4.883 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004149/0.8024, allocations: 1.273 MB / 1.14 GB, free: 3.598 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.8025, allocations: 4 kB / 1.14 GB, free: 3.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.8025, allocations: 4 kB / 1.14 GB, free: 3.59 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005277/0.803, allocations: 133.1 kB / 1.14 GB, free: 3.457 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.8036, allocations: 171.7 kB / 1.14 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000704/0.8043, allocations: 0.6812 MB / 1.141 GB, free: 2.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.8052, allocations: 156.9 kB / 1.141 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.792e-05/0.8052, allocations: 35.98 kB / 1.141 GB, free: 2.395 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008581/0.8061, allocations: 0.5526 MB / 1.142 GB, free: 1.84 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007069/0.8068, allocations: 491.9 kB / 1.142 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00119/0.808, allocations: 0.7011 MB / 1.143 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.808, allocations: 0 / 1.143 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004113/0.8122, allocations: 1.273 MB / 1.144 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.8122, allocations: 8 kB / 1.144 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.8122, allocations: 4 kB / 1.144 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/0.8126, allocations: 137.1 kB / 1.144 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005265/0.8131, allocations: 163.7 kB / 1.144 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006598/0.8138, allocations: 0.6927 MB / 1.145 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008629/0.8147, allocations: 131.5 kB / 1.145 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.217e-05/0.8148, allocations: 31.98 kB / 1.145 GB, free: 14.07 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.8149, allocations: 229.6 kB / 1.145 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001913/0.8151, allocations: 138.2 kB / 1.145 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004221/0.8194, allocations: 1.267 MB / 1.147 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/0.8194, allocations: 4 kB / 1.147 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8194, allocations: 4 kB / 1.147 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00381/0.8232, allocations: 1.096 MB / 1.148 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/0.8291, allocations: 2.61 MB / 1.15 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.176e-06/0.8292, allocations: 4 kB / 1.15 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005802/0.8297, allocations: 111.9 kB / 1.15 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.8303, allocations: 133 kB / 1.151 GB, free: 8.305 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.8303, allocations: 19.94 kB / 1.151 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005598/0.836, allocations: 2.598 MB / 1.153 GB, free: 5.535 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.663e-06/0.836, allocations: 7.938 kB / 1.153 GB, free: 5.527 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006154/0.8421, allocations: 1.695 MB / 1.155 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00067/0.8428, allocations: 307.2 kB / 1.155 GB, free: 3.441 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.843, allocations: 24.05 kB / 1.155 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001069/0.8441, allocations: 79.83 kB / 1.155 GB, free: 3.34 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/0.8443, allocations: 56.3 kB / 1.155 GB, free: 3.285 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.8444, allocations: 31.98 kB / 1.155 GB, free: 3.254 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.00173/0.8461, allocations: 0.8737 MB / 1.156 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8461, allocations: 0 / 1.156 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.002244/0.8484, allocations: 0.7096 MB / 1.157 GB, free: 1.668 MB / 0.9044 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007259/0.8556, allocations: 2.564 MB / 1.159 GB, free: 15.03 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.003299/0.859, allocations: 1.16 MB / 1.16 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.859, allocations: 0 / 1.16 GB, free: 13.88 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001659/0.8606, allocations: 0.5685 MB / 1.161 GB, free: 13.29 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004023/0.8647, allocations: 0.7976 MB / 1.162 GB, free: 12.52 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02581/0.8905, allocations: 10.82 MB / 1.172 GB, free: 1.191 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006712/0.8912, allocations: 1.168 MB / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.001047/0.8923, allocations: 314.9 kB / 1.174 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006059/0.8929, allocations: 0.507 MB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.8929, allocations: 0 / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.421/4.314, allocations: 41.48 MB / 1.215 GB, free: 6.254 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003774/4.314, allocations: 269.2 kB / 1.215 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/6.926, allocations: 4 kB / 1.215 GB, free: 5.891 MB / 0.9669 GB (rm -f Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)