Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5354/0.5354, allocations: 90.8 MB / 104.5 MB, free: 13.92 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 221.3 MB / 348.3 MB, free: 12.58 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 93.81 kB / 421.2 MB, free: 5.73 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.43e-05, allocations: 11.98 kB / 0.4897 GB, free: 46.54 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1599, allocations: 72.3 MB / 0.5603 GB, free: 6.332 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.305/1.465, allocations: 377 MB / 0.9285 GB, free: 96.42 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/1.465, allocations: 88.02 kB / 0.9286 GB, free: 96.38 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.008/3.473, allocations: 0.5438 GB / 1.472 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.595e-06/3.473, allocations: 3.984 kB / 1.472 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002521/3.473, allocations: 47.92 kB / 1.472 GB, free: 35.22 MB / 0.6042 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.004656/3.478, allocations: 1.71 MB / 1.474 GB, free: 33.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/3.478, allocations: 11.98 kB / 1.474 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000389/3.478, allocations: 147.9 kB / 1.474 GB, free: 33.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001216/3.479, allocations: 237.9 kB / 1.474 GB, free: 33.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004267/3.484, allocations: 1.701 MB / 1.476 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.116e-05/3.484, allocations: 74 kB / 1.476 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002584/3.484, allocations: 107.9 kB / 1.476 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/3.486, allocations: 1.022 MB / 1.477 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.395e-05/3.486, allocations: 0 / 1.477 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001049/3.486, allocations: 40 kB / 1.477 GB, free: 30.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-05/3.486, allocations: 42 kB / 1.477 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/3.488, allocations: 0.7458 MB / 1.478 GB, free: 29.23 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.006756/3.494, allocations: 4.735 MB / 1.483 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/3.495, allocations: 0.5114 MB / 1.483 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004237/3.496, allocations: 267.9 kB / 1.483 GB, free: 23.47 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000562/3.496, allocations: 0.8316 MB / 1.484 GB, free: 22.45 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/3.496, allocations: 43.12 kB / 1.484 GB, free: 22.4 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 3.536e-06/3.496, allocations: 0 / 1.484 GB, free: 22.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.00403/3.5, allocations: 1.029 MB / 1.485 GB, free: 21.36 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.168e-05/3.5, allocations: 59.97 kB / 1.485 GB, free: 21.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001778/3.502, allocations: 1.1 MB / 1.486 GB, free: 20.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.883e-05/3.502, allocations: 41.7 kB / 1.486 GB, free: 20.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004586/3.503, allocations: 0.6182 MB / 1.487 GB, free: 19.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/3.503, allocations: 217 kB / 1.487 GB, free: 19.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/3.503, allocations: 8 kB / 1.487 GB, free: 19.28 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/3.503, allocations: 337.9 kB / 1.488 GB, free: 18.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003469/3.503, allocations: 201.5 kB / 1.488 GB, free: 18.75 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/3.504, allocations: 430 kB / 1.488 GB, free: 18.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004034/3.504, allocations: 273.2 kB / 1.489 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/3.504, allocations: 4 kB / 1.489 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003863/3.508, allocations: 1.177 MB / 1.49 GB, free: 16.78 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/3.509, allocations: 1.42 MB / 1.491 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/3.509, allocations: 8 kB / 1.491 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004133/3.509, allocations: 108.7 kB / 1.491 GB, free: 15.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/3.51, allocations: 163.7 kB / 1.491 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004728/3.51, allocations: 0.6499 MB / 1.492 GB, free: 14.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/3.512, allocations: 159.1 kB / 1.492 GB, free: 14.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/3.512, allocations: 31.98 kB / 1.492 GB, free: 14.13 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/3.512, allocations: 7.953 kB / 1.492 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003474/3.515, allocations: 1.033 MB / 1.493 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/3.515, allocations: 7.953 kB / 1.493 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003458/3.516, allocations: 109 kB / 1.493 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005622/3.516, allocations: 151.8 kB / 1.493 GB, free: 12.82 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000412/3.517, allocations: 0.6616 MB / 1.494 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/3.518, allocations: 143.2 kB / 1.494 GB, free: 11.99 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-05/3.518, allocations: 31.98 kB / 1.494 GB, free: 11.96 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002417/3.518, allocations: 162.4 kB / 1.494 GB, free: 11.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003584/3.519, allocations: 134.3 kB / 1.494 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004056/3.523, allocations: 1.157 MB / 1.496 GB, free: 10.5 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.404e-05/3.523, allocations: 12 kB / 1.496 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/3.523, allocations: 0 / 1.496 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003349/3.526, allocations: 1.053 MB / 1.497 GB, free: 9.402 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006418/3.533, allocations: 2.507 MB / 1.499 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/3.533, allocations: 4 kB / 1.499 GB, free: 6.781 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004876/3.533, allocations: 124.2 kB / 1.499 GB, free: 6.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003133/3.533, allocations: 108.8 kB / 1.499 GB, free: 6.551 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/3.533, allocations: 23.98 kB / 1.499 GB, free: 6.527 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003154/3.537, allocations: 2.185 MB / 1.501 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/3.537, allocations: 4 kB / 1.501 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004394/3.541, allocations: 1.757 MB / 1.503 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009223/3.542, allocations: 335 kB / 1.504 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/3.542, allocations: 19.94 kB / 1.504 GB, free: 1.875 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/3.544, allocations: 83.92 kB / 1.504 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/3.544, allocations: 56.3 kB / 1.504 GB, free: 1.738 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.638e-05/3.544, allocations: 27.98 kB / 1.504 GB, free: 1.711 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001464/3.545, allocations: 0.8879 MB / 1.505 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/3.545, allocations: 0 / 1.505 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002829/3.548, allocations: 0.7876 MB / 1.505 GB, free: 32 kB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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 (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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.4461/3.994, allocations: 3.733 MB / 1.509 GB, free: 75.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002291/3.997, allocations: 0.9241 MB / 1.51 GB, free: 75.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/3.997, allocations: 0.9688 kB / 1.51 GB, free: 75.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/3.998, allocations: 0.5152 MB / 1.51 GB, free: 75.03 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/4.002, allocations: 0.7561 MB / 1.511 GB, free: 75.02 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004961/4.007, allocations: 2.091 MB / 1.513 GB, free: 74.42 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009659/4.008, allocations: 1.201 MB / 1.514 GB, free: 73.71 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002173/4.011, allocations: 388.4 kB / 1.515 GB, free: 73.7 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006278/4.011, allocations: 494.6 kB / 1.515 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of SimCode: time 1.623e-06/4.011, allocations: 0 / 1.515 GB, free: 73.69 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08716/4.098, allocations: 49.2 MB / 1.563 GB, free: 71.87 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001824/4.099, allocations: 209.1 kB / 1.563 GB, free: 71.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.446/7.545, allocations: 0 / 1.563 GB, free: 71.64 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)