Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.00174/0.00174, allocations: 178.8 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.5188/0.5188, allocations: 90.81 MB / 104.5 MB, free: 9.797 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.444/1.444, allocations: 221.3 MB / 348.3 MB, free: 0.5078 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.001041/0.001041, allocations: 97.41 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.273e-05, allocations: 0 / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4464, allocations: 72.3 MB / 0.5603 GB, free: 40.42 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.648, allocations: 386.6 MB / 0.9379 GB, free: 230.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.648, allocations: 92.73 kB / 0.938 GB, free: 230.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.912/3.56, allocations: 0.6495 GB / 1.587 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.62e-07/3.56, allocations: 0 / 1.587 GB, free: 43.64 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001566/3.561, allocations: 28 kB / 1.587 GB, free: 43.62 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003098/3.564, allocations: 1.49 MB / 1.589 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/3.564, allocations: 11.98 kB / 1.589 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002065/3.564, allocations: 122.7 kB / 1.589 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/3.566, allocations: 446 kB / 1.589 GB, free: 41.49 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002722/3.569, allocations: 1.304 MB / 1.591 GB, free: 40.13 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003301/3.569, allocations: 126.8 kB / 1.591 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/3.569, allocations: 91.89 kB / 1.591 GB, free: 39.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/3.571, allocations: 0.8695 MB / 1.592 GB, free: 39 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/3.571, allocations: 4 kB / 1.592 GB, free: 39 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.11e-05/3.571, allocations: 32 kB / 1.592 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.517e-05/3.571, allocations: 30 kB / 1.592 GB, free: 38.94 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009211/3.572, allocations: 0.6403 MB / 1.592 GB, free: 38.3 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.005032/3.577, allocations: 4.714 MB / 1.597 GB, free: 33.27 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/3.579, allocations: 0.6825 MB / 1.598 GB, free: 32.58 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/3.579, allocations: 212.8 kB / 1.598 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004858/3.58, allocations: 0.8986 MB / 1.599 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/3.58, allocations: 46.55 kB / 1.599 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/3.58, allocations: 0 / 1.599 GB, free: 31.22 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.00233/3.582, allocations: 0.7624 MB / 1.6 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/3.582, allocations: 59.41 kB / 1.6 GB, free: 30.38 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/3.583, allocations: 0.9066 MB / 1.601 GB, free: 29.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/3.583, allocations: 37.7 kB / 1.601 GB, free: 29.41 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003086/3.584, allocations: 0.5354 MB / 1.601 GB, free: 28.87 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/3.584, allocations: 149.8 kB / 1.601 GB, free: 28.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/3.584, allocations: 11.94 kB / 1.601 GB, free: 28.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.355e-05/3.584, allocations: 322 kB / 1.602 GB, free: 28.39 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/3.584, allocations: 181.1 kB / 1.602 GB, free: 28.21 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/3.585, allocations: 432.2 kB / 1.602 GB, free: 27.68 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003276/3.585, allocations: 219.1 kB / 1.602 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/3.585, allocations: 0 / 1.602 GB, free: 27.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001111/3.586, allocations: 0.7153 MB / 1.603 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005109/3.587, allocations: 1.672 MB / 1.605 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/3.587, allocations: 7.953 kB / 1.605 GB, free: 24.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008507/3.587, allocations: 249.2 kB / 1.605 GB, free: 24.7 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/3.588, allocations: 119.8 kB / 1.605 GB, free: 24.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000748/3.589, allocations: 0.8287 MB / 1.606 GB, free: 23.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/3.59, allocations: 203.2 kB / 1.606 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.439e-05/3.59, allocations: 31.92 kB / 1.606 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/3.59, allocations: 4 kB / 1.606 GB, free: 23.5 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008926/3.591, allocations: 0.5821 MB / 1.607 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/3.591, allocations: 4 kB / 1.607 GB, free: 22.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006389/3.592, allocations: 254.4 kB / 1.607 GB, free: 22.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004483/3.592, allocations: 123.8 kB / 1.607 GB, free: 22.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006067/3.593, allocations: 0.8216 MB / 1.608 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/3.594, allocations: 159.4 kB / 1.608 GB, free: 21.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.47e-05/3.594, allocations: 35.97 kB / 1.608 GB, free: 21.5 MB / 0.6042 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.00016/3.594, allocations: 152.9 kB / 1.608 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/3.594, allocations: 106.7 kB / 1.608 GB, free: 21.24 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/3.596, allocations: 0.7379 MB / 1.609 GB, free: 20.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/3.596, allocations: 8 kB / 1.609 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/3.596, allocations: 3.812 kB / 1.609 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/3.596, allocations: 3.984 kB / 1.609 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003734/3.599, allocations: 1.995 MB / 1.611 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/3.599, allocations: 0 / 1.611 GB, free: 18.41 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002538/3.6, allocations: 63.89 kB / 1.611 GB, free: 18.34 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006476/3.6, allocations: 268.6 kB / 1.611 GB, free: 18.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.895e-05/3.6, allocations: 16 kB / 1.611 GB, free: 18.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006717/3.601, allocations: 0.8561 MB / 1.612 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/3.601, allocations: 0 / 1.612 GB, free: 17.19 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/3.603, allocations: 1.122 MB / 1.613 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005427/3.604, allocations: 275.5 kB / 1.613 GB, free: 15.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/3.604, allocations: 16 kB / 1.614 GB, free: 15.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009589/3.605, allocations: 111.8 kB / 1.614 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.865e-05/3.605, allocations: 35.91 kB / 1.614 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/3.605, allocations: 27.98 kB / 1.614 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009073/3.606, allocations: 0.7012 MB / 1.614 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.51e-07/3.606, allocations: 0 / 1.614 GB, free: 14.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.00188/3.608, allocations: 0.6277 MB / 1.615 GB, free: 14.16 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.003685/3.612, allocations: 2.766 MB / 1.618 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001502/3.613, allocations: 0.8419 MB / 1.618 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/3.613, allocations: 0 / 1.618 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005368/3.614, allocations: 289.8 kB / 1.619 GB, free: 10.22 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/3.616, allocations: 0.5047 MB / 1.619 GB, free: 9.738 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004805/3.621, allocations: 1.832 MB / 1.621 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004549/3.621, allocations: 1.083 MB / 1.622 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001209/3.623, allocations: 274 kB / 1.622 GB, free: 6.473 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/3.623, allocations: 395.3 kB / 1.623 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of SimCode: time 5.71e-07/3.623, allocations: 0 / 1.623 GB, free: 6.086 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.421/4.044, allocations: 40.27 MB / 1.662 GB, free: 86.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/4.044, allocations: 210.4 kB / 1.662 GB, free: 86.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.254/7.299, allocations: 0 / 1.662 GB, free: 86.11 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)