Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="Buildings_11_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.006021/0.006021, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.00162/0.00162, allocations: 190.3 kB / 16.67 MB, free: 5.93 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.214/1.214, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.438/2.438, allocations: 469.8 MB / 0.7425 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001695/0.001695, allocations: 67.89 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2504/0.2522, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_y): time 0.5159/0.7681, allocations: 75.18 MB / 1.294 GB, free: 5.906 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.7852, allocations: 12.76 MB / 1.306 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001584/0.7868, allocations: 66 kB / 1.306 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00172/0.7885, allocations: 0.8282 MB / 1.307 GB, free: 12.19 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.005022/0.7936, allocations: 2.467 MB / 1.309 GB, free: 10.7 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.7965, allocations: 1.393 MB / 1.311 GB, free: 9.906 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.004775/0.8013, allocations: 4.382 MB / 1.315 GB, free: 7.723 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/0.803, allocations: 1.442 MB / 1.316 GB, free: 7.023 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.8059, allocations: 1.622 MB / 1.318 GB, free: 6.227 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001369/0.8073, allocations: 1.196 MB / 1.319 GB, free: 5.664 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.8075, allocations: 163.5 kB / 1.319 GB, free: 5.664 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002691/0.8102, allocations: 1.405 MB / 1.321 GB, free: 5.148 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0003884/0.8106, allocations: 397.2 kB / 1.321 GB, free: 4.898 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0008592/0.8114, allocations: 0.9044 MB / 1.322 GB, free: 4.328 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.003555/0.815, allocations: 2.866 MB / 1.325 GB, free: 3.234 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.815, allocations: 1.938 kB / 1.325 GB, free: 3.234 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.056e-06/0.815, allocations: 0 / 1.325 GB, free: 3.234 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.813e-05/0.815, allocations: 3.938 kB / 1.325 GB, free: 3.23 MB / 1.029 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.003425/0.8185, allocations: 2.133 MB / 1.327 GB, free: 1.801 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.8185, allocations: 13.97 kB / 1.327 GB, free: 1.797 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001784/0.8187, allocations: 151.1 kB / 1.327 GB, free: 1.695 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007291/0.8194, allocations: 236.4 kB / 1.327 GB, free: 1.602 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/0.8217, allocations: 1.538 MB / 1.329 GB, free: 0.6758 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.8218, allocations: 76.56 kB / 1.329 GB, free: 0.6406 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.8219, allocations: 100.6 kB / 1.329 GB, free: 0.6094 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.8238, allocations: 1.095 MB / 1.33 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.475e-05/0.8238, allocations: 1.188 kB / 1.33 GB, free: 128 kB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.8239, allocations: 41.25 kB / 1.33 GB, free: 96 kB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.824, allocations: 29.42 kB / 1.33 GB, free: 92 kB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001808/0.8258, allocations: 0.8876 MB / 1.331 GB, free: 15.77 MB / 1.045 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.005496/0.8313, allocations: 4.917 MB / 1.336 GB, free: 12.32 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.8325, allocations: 0.6215 MB / 1.336 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006551/0.8332, allocations: 348.9 kB / 1.337 GB, free: 11.98 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006387/0.8339, allocations: 0.8279 MB / 1.337 GB, free: 11.03 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/0.8339, allocations: 44.86 kB / 1.337 GB, free: 10.98 MB / 1.045 GB Notification: Performance of pre-optimization done (n=61): time 1.673e-06/0.8339, allocations: 1.031 kB / 1.337 GB, free: 10.98 MB / 1.045 GB Notification: Performance of matching and sorting (n=61): time 0.00633/0.8402, allocations: 1.681 MB / 1.339 GB, free: 10.48 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.8403, allocations: 60.84 kB / 1.339 GB, free: 10.42 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/0.8417, allocations: 1.23 MB / 1.34 GB, free: 9.906 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 5.658e-05/0.8418, allocations: 42.64 kB / 1.34 GB, free: 9.863 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005145/0.8423, allocations: 0.6152 MB / 1.341 GB, free: 9.375 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001925/0.8425, allocations: 222.5 kB / 1.341 GB, free: 9.199 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/0.8427, allocations: 155 kB / 1.341 GB, free: 9.121 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8428, allocations: 333.5 kB / 1.342 GB, free: 8.805 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.8435, allocations: 296.9 kB / 1.342 GB, free: 8.699 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.8443, allocations: 493.6 kB / 1.342 GB, free: 8.383 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.8456, allocations: 0.7074 MB / 1.343 GB, free: 8 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.8456, allocations: 1.375 kB / 1.343 GB, free: 8 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004087/0.8497, allocations: 1.28 MB / 1.344 GB, free: 7.59 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.8497, allocations: 6.656 kB / 1.344 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.8497, allocations: 2.812 kB / 1.344 GB, free: 7.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005037/0.8503, allocations: 141.5 kB / 1.345 GB, free: 7.551 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005116/0.8508, allocations: 160.6 kB / 1.345 GB, free: 7.535 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007736/0.8516, allocations: 0.6935 MB / 1.345 GB, free: 6.949 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/0.8524, allocations: 127 kB / 1.345 GB, free: 6.883 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.091e-05/0.8524, allocations: 34.02 kB / 1.345 GB, free: 6.875 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009122/0.8534, allocations: 0.5518 MB / 1.346 GB, free: 6.59 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000789/0.8542, allocations: 492.8 kB / 1.347 GB, free: 6.273 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00133/0.8555, allocations: 0.6971 MB / 1.347 GB, free: 5.906 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.8555, allocations: 5.094 kB / 1.347 GB, free: 5.902 MB / 1.045 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00421/0.8597, allocations: 1.272 MB / 1.348 GB, free: 5.281 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.8597, allocations: 6.406 kB / 1.348 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.8598, allocations: 7.484 kB / 1.348 GB, free: 5.277 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004312/0.8602, allocations: 137.5 kB / 1.349 GB, free: 5.211 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.8607, allocations: 161.9 kB / 1.349 GB, free: 5.168 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000767/0.8615, allocations: 0.6898 MB / 1.349 GB, free: 4.555 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.8623, allocations: 102.4 kB / 1.349 GB, free: 4.492 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.8623, allocations: 31.89 kB / 1.35 GB, free: 4.484 MB / 1.045 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.0001983/0.8625, allocations: 225.9 kB / 1.35 GB, free: 4.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000213/0.8628, allocations: 144.4 kB / 1.35 GB, free: 4.191 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004356/0.8671, allocations: 1.269 MB / 1.351 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/0.8671, allocations: 6.781 kB / 1.351 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8672, allocations: 0 / 1.351 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003848/0.871, allocations: 1.104 MB / 1.352 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005843/0.8769, allocations: 2.621 MB / 1.355 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.8769, allocations: 4 kB / 1.355 GB, free: 1.047 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00042/0.8773, allocations: 114.3 kB / 1.355 GB, free: 1.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000435/0.8777, allocations: 137.2 kB / 1.355 GB, free: 0.9453 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.305e-05/0.8778, allocations: 20.19 kB / 1.355 GB, free: 0.9336 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.8824, allocations: 2.574 MB / 1.358 GB, free: 14.74 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/0.8825, allocations: 7.188 kB / 1.358 GB, free: 14.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004741/0.8872, allocations: 1.708 MB / 1.359 GB, free: 13.71 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004023/0.8876, allocations: 311.4 kB / 1.36 GB, free: 13.44 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001524/0.8878, allocations: 19.81 kB / 1.36 GB, free: 13.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007021/0.8885, allocations: 57.67 kB / 1.36 GB, free: 13.39 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.8886, allocations: 56.25 kB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.729e-05/0.8887, allocations: 29.52 kB / 1.36 GB, free: 13.36 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.001066/0.8897, allocations: 0.8854 MB / 1.361 GB, free: 12.86 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8897, allocations: 0 / 1.361 GB, free: 12.86 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001586/0.8913, allocations: 0.7205 MB / 1.361 GB, free: 12.71 MB / 1.061 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.005902/0.8972, allocations: 2.613 MB / 1.364 GB, free: 10.98 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.8996, allocations: 1.111 MB / 1.365 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.8996, allocations: 1.156 kB / 1.365 GB, free: 10.48 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.901, allocations: 0.5617 MB / 1.365 GB, free: 10.15 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003034/0.904, allocations: 0.7984 MB / 1.366 GB, free: 9.73 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.9214, allocations: 9.833 MB / 1.376 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007127/0.9221, allocations: 1.172 MB / 1.377 GB, free: 2.859 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001024/0.9232, allocations: 312.6 kB / 1.377 GB, free: 2.703 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006422/0.9238, allocations: 0.5047 MB / 1.378 GB, free: 2.281 MB / 1.061 GB Notification: Performance of SimCode: time 5.01e-07/0.9238, allocations: 4 kB / 1.378 GB, free: 2.277 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.844/8.768, allocations: 42.42 MB / 1.419 GB, free: 8.758 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.6/28.37, allocations: 16.14 kB / 1.419 GB, free: 8.746 MB / 1.107 GB (rm -f Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Examples_Carnot_y.fmu > Buildings_11_Buildings.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)