Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.62/2.62, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001987/0.001986, allocations: 180.9 kB / 360.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.391/2.391, allocations: 205.3 MB / 0.6191 GB, free: 12.23 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.001711/0.00171, allocations: 93.38 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.521e-05, allocations: 4 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.8647, allocations: 115.3 MB / 0.9634 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.248/7.113, allocations: 2.08 GB / 3.043 GB, free: 38.64 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/7.114, allocations: 95.78 kB / 3.043 GB, free: 38.59 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.787/9.9, allocations: 455.1 MB / 3.488 GB, free: 230.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.164e-06/9.9, allocations: 0 / 3.488 GB, free: 230.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001262/9.901, allocations: 29.77 kB / 3.488 GB, free: 230.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.003273/9.904, allocations: 1.075 MB / 3.489 GB, free: 230.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/9.904, allocations: 7.344 kB / 3.489 GB, free: 230.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/9.906, allocations: 178.2 kB / 3.489 GB, free: 230.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002489/9.908, allocations: 0.7869 MB / 3.49 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.849e-05/9.908, allocations: 14.19 kB / 3.49 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/9.908, allocations: 26.69 kB / 3.49 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007564/9.909, allocations: 272.1 kB / 3.49 GB, free: 230.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009152/9.91, allocations: 430.6 kB / 3.491 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/9.91, allocations: 0 / 3.491 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.586e-05/9.91, allocations: 0 / 3.491 GB, free: 230 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/9.91, allocations: 17.72 kB / 3.491 GB, free: 230 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.004128/9.914, allocations: 1.864 MB / 3.492 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007899/9.915, allocations: 312 kB / 3.493 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002872/9.915, allocations: 132.7 kB / 3.493 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003695/9.916, allocations: 197.3 kB / 3.493 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/9.916, allocations: 33.06 kB / 3.493 GB, free: 228.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.805e-06/9.916, allocations: 0 / 3.493 GB, free: 228.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001738/9.918, allocations: 393.6 kB / 3.493 GB, free: 228.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/9.918, allocations: 210.5 kB / 3.494 GB, free: 228.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/9.919, allocations: 0.6715 MB / 3.494 GB, free: 228.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/9.919, allocations: 29.55 kB / 3.494 GB, free: 228.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003083/9.92, allocations: 364.7 kB / 3.495 GB, free: 228.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/9.92, allocations: 92.86 kB / 3.495 GB, free: 228.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/9.92, allocations: 0 / 3.495 GB, free: 228.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.603e-05/9.92, allocations: 323.1 kB / 3.495 GB, free: 227.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/9.92, allocations: 120.8 kB / 3.495 GB, free: 227.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004523/9.921, allocations: 334.2 kB / 3.496 GB, free: 227.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/9.921, allocations: 167.4 kB / 3.496 GB, free: 227.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/9.921, allocations: 0 / 3.496 GB, free: 227.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001478/9.923, allocations: 460.3 kB / 3.496 GB, free: 227.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/9.923, allocations: 283.3 kB / 3.496 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.2e-05/9.923, allocations: 6.109 kB / 3.496 GB, free: 227.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001997/9.923, allocations: 33.7 kB / 3.496 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009079/9.924, allocations: 95.23 kB / 3.497 GB, free: 227.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007505/9.925, allocations: 1.168 MB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/9.926, allocations: 89.44 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.649e-05/9.926, allocations: 16.41 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/9.926, allocations: 8.141 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00105/9.928, allocations: 332.3 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.574e-05/9.928, allocations: 7.344 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002319/9.928, allocations: 34.66 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006742/9.929, allocations: 79.23 kB / 3.498 GB, free: 226.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/9.93, allocations: 1.408 MB / 3.5 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/9.932, allocations: 90.36 kB / 3.5 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/9.932, allocations: 19.34 kB / 3.5 GB, free: 224.8 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.0002075/9.932, allocations: 124.8 kB / 3.5 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001119/9.933, allocations: 350.6 kB / 3.5 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002017/9.933, allocations: 72.66 kB / 3.5 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/9.935, allocations: 389.9 kB / 3.501 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/9.935, allocations: 2.531 kB / 3.501 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/9.935, allocations: 1.375 kB / 3.501 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/9.935, allocations: 3.953 kB / 3.501 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002707/9.937, allocations: 1.09 MB / 3.502 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/9.937, allocations: 2.281 kB / 3.502 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007052/9.938, allocations: 72.78 kB / 3.502 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001283/9.938, allocations: 31 kB / 3.502 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.931e-05/9.938, allocations: 12.78 kB / 3.502 GB, free: 224.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005987/9.939, allocations: 1.148 MB / 3.503 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/9.939, allocations: 6.109 kB / 3.503 GB, free: 223.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/9.941, allocations: 0.7079 MB / 3.504 GB, free: 222.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006131/9.941, allocations: 205.3 kB / 3.504 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001685/9.941, allocations: 3.75 kB / 3.504 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/9.943, allocations: 56.48 kB / 3.504 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/9.943, allocations: 26.28 kB / 3.504 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/9.943, allocations: 18.62 kB / 3.504 GB, free: 222.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001112/9.944, allocations: 0.5271 MB / 3.504 GB, free: 222.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.11e-07/9.944, allocations: 1.094 kB / 3.504 GB, free: 222.5 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002202/9.946, allocations: 455.6 kB / 3.505 GB, free: 222.5 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.004378/9.951, allocations: 2.986 MB / 3.508 GB, free: 221 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002125/9.953, allocations: 0.7232 MB / 3.508 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/9.953, allocations: 6.562 kB / 3.508 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005032/9.953, allocations: 141.3 kB / 3.509 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/9.956, allocations: 261.7 kB / 3.509 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/9.959, allocations: 1.123 MB / 3.51 GB, free: 220.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/9.96, allocations: 0.9801 MB / 3.511 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001779/9.961, allocations: 251.9 kB / 3.511 GB, free: 219.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/9.962, allocations: 257.2 kB / 3.511 GB, free: 219.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.112e-06/9.962, allocations: 0 / 3.511 GB, free: 219.6 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/10.07, allocations: 28.53 MB / 3.539 GB, free: 219.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002721/10.07, allocations: 191.4 kB / 3.539 GB, free: 219.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.181/14.25, allocations: 0 / 3.539 GB, free: 219.1 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_8.0.0_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)