Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001193/0.001194, allocations: 172.9 kB / 361.4 MB, free: 6.809 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.7/1.7, allocations: 205.2 MB / 0.62 GB, free: 11.62 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.0009675/0.0009675, allocations: 104.5 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.077e-05/3.088e-05, allocations: 7.984 kB / 0.8518 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.7735, allocations: 115.3 MB / 0.9645 GB, free: 79.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.572/6.345, allocations: 2.08 GB / 3.045 GB, free: 34.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/6.346, allocations: 97.16 kB / 3.045 GB, free: 34.02 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.396/8.741, allocations: 455.1 MB / 3.489 GB, free: 230.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.315e-06/8.741, allocations: 0 / 3.489 GB, free: 230.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001514/8.742, allocations: 25.7 kB / 3.489 GB, free: 230.7 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.003238/8.745, allocations: 1.074 MB / 3.49 GB, free: 230.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.3e-05/8.745, allocations: 14.47 kB / 3.49 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/8.746, allocations: 172.6 kB / 3.49 GB, free: 230.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002155/8.749, allocations: 0.7799 MB / 3.491 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.256e-05/8.749, allocations: 15.92 kB / 3.491 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/8.749, allocations: 30.22 kB / 3.491 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005898/8.749, allocations: 278.2 kB / 3.491 GB, free: 229.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/8.75, allocations: 429.8 kB / 3.492 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/8.75, allocations: 2.844 kB / 3.492 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/8.75, allocations: 0 / 3.492 GB, free: 229.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/8.75, allocations: 10.84 kB / 3.492 GB, free: 229.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.003348/8.754, allocations: 1.866 MB / 3.494 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006176/8.754, allocations: 300 kB / 3.494 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002571/8.754, allocations: 134.5 kB / 3.494 GB, free: 228.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003464/8.755, allocations: 196.6 kB / 3.494 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/8.755, allocations: 39.72 kB / 3.494 GB, free: 228.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.414e-06/8.755, allocations: 3.875 kB / 3.494 GB, free: 228.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26): time 0.001573/8.756, allocations: 383.4 kB / 3.495 GB, free: 228.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/8.757, allocations: 220.3 kB / 3.495 GB, free: 228.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/8.758, allocations: 0.6702 MB / 3.496 GB, free: 228.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.311e-05/8.758, allocations: 27.8 kB / 3.496 GB, free: 228.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004407/8.759, allocations: 372.8 kB / 3.496 GB, free: 228 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/8.759, allocations: 88.52 kB / 3.496 GB, free: 228 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/8.759, allocations: 3.062 kB / 3.496 GB, free: 228 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001017/8.759, allocations: 317.2 kB / 3.496 GB, free: 227.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/8.759, allocations: 124 kB / 3.496 GB, free: 227.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/8.76, allocations: 336.3 kB / 3.497 GB, free: 227.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004798/8.76, allocations: 167 kB / 3.497 GB, free: 227.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/8.76, allocations: 1.312 kB / 3.497 GB, free: 227.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001371/8.762, allocations: 461.5 kB / 3.497 GB, free: 227.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001857/8.762, allocations: 274.1 kB / 3.498 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.649e-05/8.762, allocations: 9.094 kB / 3.498 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/8.762, allocations: 35.25 kB / 3.498 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005988/8.763, allocations: 88.66 kB / 3.498 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008258/8.764, allocations: 1.168 MB / 3.499 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/8.765, allocations: 90.05 kB / 3.499 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.843e-05/8.765, allocations: 16.78 kB / 3.499 GB, free: 226 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/8.765, allocations: 7.266 kB / 3.499 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008947/8.766, allocations: 328 kB / 3.499 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.288e-05/8.766, allocations: 2.25 kB / 3.499 GB, free: 226 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001966/8.766, allocations: 42.83 kB / 3.499 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/8.767, allocations: 76.02 kB / 3.499 GB, free: 225.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/8.768, allocations: 1.413 MB / 3.501 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/8.769, allocations: 90.41 kB / 3.501 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/8.769, allocations: 17.22 kB / 3.501 GB, free: 224.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.000236/8.77, allocations: 124.9 kB / 3.501 GB, free: 224.6 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009892/8.771, allocations: 347.3 kB / 3.501 GB, free: 224.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002522/8.771, allocations: 77.67 kB / 3.501 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/8.772, allocations: 394 kB / 3.502 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/8.772, allocations: 2.781 kB / 3.502 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/8.772, allocations: 0 / 3.502 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/8.772, allocations: 1.922 kB / 3.502 GB, free: 224.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002466/8.774, allocations: 1.092 MB / 3.503 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/8.774, allocations: 2.25 kB / 3.503 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004211/8.775, allocations: 74.27 kB / 3.503 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001001/8.775, allocations: 31.94 kB / 3.503 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/8.775, allocations: 8.531 kB / 3.503 GB, free: 224 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005692/8.776, allocations: 1.153 MB / 3.504 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/8.776, allocations: 5.5 kB / 3.504 GB, free: 222.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/8.777, allocations: 0.7038 MB / 3.505 GB, free: 222.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003946/8.777, allocations: 204.4 kB / 3.505 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/8.777, allocations: 7.531 kB / 3.505 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000777/8.778, allocations: 57.45 kB / 3.505 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.928e-05/8.778, allocations: 27.72 kB / 3.505 GB, free: 222.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/8.778, allocations: 16.58 kB / 3.505 GB, free: 222.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0009201/8.779, allocations: 0.5238 MB / 3.506 GB, free: 222.4 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.8e-07/8.779, allocations: 1.062 kB / 3.506 GB, free: 222.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002137/8.781, allocations: 446 kB / 3.506 GB, free: 222.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.004129/8.786, allocations: 2.996 MB / 3.509 GB, free: 220.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001639/8.787, allocations: 0.7327 MB / 3.51 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/8.787, allocations: 1.031 kB / 3.51 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003481/8.788, allocations: 148.5 kB / 3.51 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/8.789, allocations: 258 kB / 3.51 GB, free: 220.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003014/8.792, allocations: 1.104 MB / 3.511 GB, free: 220.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007364/8.793, allocations: 0.9815 MB / 3.512 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001482/8.794, allocations: 251.6 kB / 3.512 GB, free: 219.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/8.795, allocations: 263 kB / 3.513 GB, free: 219.5 MB / 0.948 GB Notification: Performance of SimCode: time 8.21e-07/8.795, allocations: 0 / 3.513 GB, free: 219.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08254/8.877, allocations: 28.54 MB / 3.54 GB, free: 218.9 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/8.878, allocations: 187.2 kB / 3.541 GB, free: 218.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.132/12.01, allocations: 4 kB / 3.541 GB, free: 218.8 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1)