Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.966/1.966, allocations: 289.9 MB / 297.4 MB, free: 6.363 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 180.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.817/1.817, allocations: 205.3 MB / 0.626 GB, free: 7.16 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 96.67 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.072e-05, allocations: 4 kB / 0.8598 GB, free: 12.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7493/0.7494, allocations: 116.3 MB / 0.9733 GB, free: 76.24 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.526/6.276, allocations: 2.081 GB / 3.054 GB, free: 2.395 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/6.276, allocations: 90.92 kB / 3.054 GB, free: 2.348 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.268/8.545, allocations: 455.1 MB / 3.499 GB, free: 236.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.053e-06/8.545, allocations: 0 / 3.499 GB, free: 236.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.973e-05/8.545, allocations: 31.73 kB / 3.499 GB, free: 236.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.002546/8.547, allocations: 1.077 MB / 3.5 GB, free: 236.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/8.547, allocations: 17.64 kB / 3.5 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/8.549, allocations: 178.8 kB / 3.5 GB, free: 236.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/8.55, allocations: 0.7832 MB / 3.501 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/8.55, allocations: 14.72 kB / 3.501 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.14e-05/8.55, allocations: 33.94 kB / 3.501 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005457/8.551, allocations: 268.1 kB / 3.501 GB, free: 235.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006916/8.552, allocations: 429.8 kB / 3.502 GB, free: 235.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/8.552, allocations: 4.031 kB / 3.502 GB, free: 235.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/8.552, allocations: 0 / 3.502 GB, free: 235.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/8.552, allocations: 9.188 kB / 3.502 GB, free: 235.8 MB / 0.948 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.002606/8.554, allocations: 1.871 MB / 3.503 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005924/8.555, allocations: 306 kB / 3.504 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/8.555, allocations: 129.3 kB / 3.504 GB, free: 234.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002877/8.555, allocations: 195.1 kB / 3.504 GB, free: 234.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/8.555, allocations: 37.5 kB / 3.504 GB, free: 234.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 3.216e-06/8.555, allocations: 0 / 3.504 GB, free: 234.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001161/8.557, allocations: 404.6 kB / 3.505 GB, free: 234.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/8.557, allocations: 209.2 kB / 3.505 GB, free: 234.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/8.558, allocations: 0.6696 MB / 3.505 GB, free: 234.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.465e-05/8.558, allocations: 28.14 kB / 3.505 GB, free: 234.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/8.558, allocations: 365.4 kB / 3.506 GB, free: 234 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.623e-05/8.558, allocations: 92.8 kB / 3.506 GB, free: 234 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.861e-05/8.558, allocations: 0 / 3.506 GB, free: 234 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/8.558, allocations: 319.7 kB / 3.506 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/8.558, allocations: 126.2 kB / 3.506 GB, free: 233.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/8.559, allocations: 338 kB / 3.507 GB, free: 233.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003618/8.559, allocations: 171.9 kB / 3.507 GB, free: 233.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/8.559, allocations: 0 / 3.507 GB, free: 233.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009407/8.56, allocations: 455.2 kB / 3.507 GB, free: 233.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/8.56, allocations: 275.4 kB / 3.507 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.405e-05/8.56, allocations: 7.781 kB / 3.507 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001696/8.56, allocations: 32.19 kB / 3.507 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005213/8.561, allocations: 91.31 kB / 3.508 GB, free: 233.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005894/8.562, allocations: 1.163 MB / 3.509 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/8.562, allocations: 97.97 kB / 3.509 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/8.563, allocations: 12.44 kB / 3.509 GB, free: 232 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/8.563, allocations: 3.594 kB / 3.509 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007014/8.563, allocations: 341.1 kB / 3.509 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/8.563, allocations: 7.25 kB / 3.509 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001422/8.563, allocations: 32.67 kB / 3.509 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003707/8.564, allocations: 79.09 kB / 3.509 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001061/8.565, allocations: 1.408 MB / 3.511 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008384/8.566, allocations: 88.08 kB / 3.511 GB, free: 230.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-05/8.566, allocations: 17.92 kB / 3.511 GB, free: 230.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 25 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001683/8.566, allocations: 124.5 kB / 3.511 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006825/8.567, allocations: 345.5 kB / 3.511 GB, free: 230.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/8.567, allocations: 79.88 kB / 3.511 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/8.568, allocations: 385.8 kB / 3.512 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/8.568, allocations: 6 kB / 3.512 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/8.568, allocations: 1.344 kB / 3.512 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/8.568, allocations: 7.797 kB / 3.512 GB, free: 230.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/8.569, allocations: 1.092 MB / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/8.569, allocations: 0 / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003685/8.57, allocations: 76.38 kB / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.199e-05/8.57, allocations: 29.34 kB / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.826e-05/8.57, allocations: 6.844 kB / 3.513 GB, free: 230 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004256/8.57, allocations: 1.155 MB / 3.514 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/8.57, allocations: 3.562 kB / 3.514 GB, free: 228.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008586/8.571, allocations: 0.7163 MB / 3.515 GB, free: 228.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/8.571, allocations: 206.3 kB / 3.515 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.892e-05/8.571, allocations: 3.906 kB / 3.515 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006539/8.572, allocations: 60.95 kB / 3.515 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.216e-05/8.572, allocations: 21.56 kB / 3.515 GB, free: 228.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/8.572, allocations: 16.53 kB / 3.515 GB, free: 228.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000593/8.573, allocations: 0.5262 MB / 3.515 GB, free: 228.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.9e-07/8.573, allocations: 0 / 3.515 GB, free: 228.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001602/8.575, allocations: 452.7 kB / 3.516 GB, free: 228.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.x[1],dam.filter.x[2],vav.filter.x[1],vav.filter.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003134/8.578, allocations: 2.981 MB / 3.519 GB, free: 226.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00141/8.579, allocations: 0.7249 MB / 3.519 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/8.579, allocations: 3.781 kB / 3.519 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/8.579, allocations: 150.8 kB / 3.52 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/8.581, allocations: 256.2 kB / 3.52 GB, free: 226.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/8.583, allocations: 1.113 MB / 3.521 GB, free: 226.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/8.584, allocations: 0.9811 MB / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001023/8.585, allocations: 251.8 kB / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/8.585, allocations: 259.6 kB / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.132e-06/8.585, allocations: 0 / 3.522 GB, free: 225.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05993/8.645, allocations: 28.54 MB / 3.55 GB, free: 224.4 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001831/8.645, allocations: 171.8 kB / 3.55 GB, free: 224.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.32/11.97, allocations: 0 / 3.55 GB, free: 224.2 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_8_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)