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.695/1.695, allocations: 288.4 MB / 303.3 MB, free: 8.168 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.00114/0.00114, allocations: 180.5 kB / 372 MB, free: 10.25 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.637/1.637, allocations: 205.4 MB / 0.6307 GB, free: 9.965 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008215/0.0008215, allocations: 93.25 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004326, allocations: 14.78 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2699, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.8123/1.082, allocations: 158.9 MB / 1.135 GB, free: 384 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01146/1.094, allocations: 5.82 MB / 1.14 GB, free: 14.97 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00169/1.096, allocations: 20.5 kB / 1.14 GB, free: 14.96 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001457/1.097, allocations: 291.1 kB / 1.141 GB, free: 14.85 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003317/1.1, allocations: 0.7848 MB / 1.142 GB, free: 14.52 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.007294/1.108, allocations: 1.944 MB / 1.143 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003387/1.111, allocations: 1.777 MB / 1.145 GB, free: 13.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/1.112, allocations: 0.4997 MB / 1.146 GB, free: 13.3 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/1.114, allocations: 0.6638 MB / 1.146 GB, free: 13.03 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009962/1.115, allocations: 0.5285 MB / 1.147 GB, free: 12.78 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001473/1.115, allocations: 33.84 kB / 1.147 GB, free: 12.78 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002319/1.118, allocations: 0.777 MB / 1.148 GB, free: 12.5 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003601/1.118, allocations: 243.6 kB / 1.148 GB, free: 12.39 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003145/1.118, allocations: 168.4 kB / 1.148 GB, free: 12.32 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/1.12, allocations: 0.9843 MB / 1.149 GB, free: 11.78 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/1.12, allocations: 0 / 1.149 GB, free: 11.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.052e-06/1.12, allocations: 0 / 1.149 GB, free: 11.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.523e-05/1.12, allocations: 0 / 1.149 GB, free: 11.78 MB / 0.698 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.003316/1.123, allocations: 1.188 MB / 1.15 GB, free: 10.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/1.123, allocations: 14.09 kB / 1.15 GB, free: 10.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001334/1.124, allocations: 77.19 kB / 1.15 GB, free: 10.86 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006994/1.124, allocations: 132.9 kB / 1.15 GB, free: 10.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00147/1.126, allocations: 0.7139 MB / 1.151 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.571e-05/1.126, allocations: 36.41 kB / 1.151 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/1.126, allocations: 46.38 kB / 1.151 GB, free: 10.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/1.127, allocations: 0.5025 MB / 1.152 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.127, allocations: 4 kB / 1.152 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.693e-05/1.127, allocations: 21.17 kB / 1.152 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/1.127, allocations: 13.06 kB / 1.152 GB, free: 10.15 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/1.128, allocations: 362.2 kB / 1.152 GB, free: 10.08 MB / 0.698 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.003247/1.131, allocations: 1.936 MB / 1.154 GB, free: 8.746 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007507/1.132, allocations: 346.7 kB / 1.154 GB, free: 8.668 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/1.132, allocations: 175.5 kB / 1.154 GB, free: 8.629 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003245/1.133, allocations: 189.5 kB / 1.155 GB, free: 8.434 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.291e-05/1.133, allocations: 36.12 kB / 1.155 GB, free: 8.395 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/1.133, allocations: 4 kB / 1.155 GB, free: 8.391 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.002931/1.136, allocations: 0.7063 MB / 1.155 GB, free: 8.094 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/1.136, allocations: 209.5 kB / 1.155 GB, free: 7.844 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/1.138, allocations: 0.9196 MB / 1.156 GB, free: 7.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/1.138, allocations: 36.39 kB / 1.156 GB, free: 7.539 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000307/1.138, allocations: 365.1 kB / 1.157 GB, free: 7.387 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/1.138, allocations: 88.09 kB / 1.157 GB, free: 7.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.991e-05/1.138, allocations: 12.12 kB / 1.157 GB, free: 7.316 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001387/1.138, allocations: 317.4 kB / 1.157 GB, free: 7.008 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/1.139, allocations: 163.5 kB / 1.157 GB, free: 6.977 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/1.139, allocations: 362.2 kB / 1.158 GB, free: 6.723 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004288/1.14, allocations: 206.7 kB / 1.158 GB, free: 6.68 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.72e-06/1.14, allocations: 1.344 kB / 1.158 GB, free: 6.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001491/1.141, allocations: 0.5311 MB / 1.158 GB, free: 6.516 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.286e-05/1.141, allocations: 112.3 kB / 1.158 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.292e-05/1.141, allocations: 2.344 kB / 1.158 GB, free: 6.402 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004041/1.142, allocations: 62.92 kB / 1.159 GB, free: 6.375 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/1.143, allocations: 93.77 kB / 1.159 GB, free: 6.348 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008753/1.143, allocations: 1.156 MB / 1.16 GB, free: 5.223 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001248/1.145, allocations: 113.3 kB / 1.16 GB, free: 5.172 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.266e-05/1.145, allocations: 9.938 kB / 1.16 GB, free: 5.172 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/1.145, allocations: 7.328 kB / 1.16 GB, free: 5.168 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001116/1.146, allocations: 421.6 kB / 1.16 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/1.146, allocations: 3.156 kB / 1.16 GB, free: 5.082 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000193/1.146, allocations: 39.23 kB / 1.16 GB, free: 5.066 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004139/1.147, allocations: 82.41 kB / 1.16 GB, free: 5.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001628/1.148, allocations: 1.484 MB / 1.162 GB, free: 3.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/1.15, allocations: 117.4 kB / 1.162 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-05/1.15, allocations: 12.53 kB / 1.162 GB, free: 3.578 MB / 0.698 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 () * Number of clocked 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.0005521/1.15, allocations: 287.8 kB / 1.162 GB, free: 3.379 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002235/1.15, allocations: 75.56 kB / 1.162 GB, free: 3.34 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/1.151, allocations: 475.2 kB / 1.163 GB, free: 3.188 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/1.151, allocations: 7.562 kB / 1.163 GB, free: 3.184 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/1.151, allocations: 3.938 kB / 1.163 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.152, allocations: 0 / 1.163 GB, free: 3.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/1.154, allocations: 1.218 MB / 1.164 GB, free: 2.383 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/1.154, allocations: 5.906 kB / 1.164 GB, free: 2.379 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004065/1.154, allocations: 67.11 kB / 1.164 GB, free: 2.359 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001513/1.154, allocations: 37.22 kB / 1.164 GB, free: 2.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/1.154, allocations: 12.67 kB / 1.164 GB, free: 2.332 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006877/1.155, allocations: 1.156 MB / 1.165 GB, free: 1.176 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/1.155, allocations: 6.078 kB / 1.165 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/1.157, allocations: 0.7474 MB / 1.166 GB, free: 0.6992 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004424/1.157, allocations: 209.7 kB / 1.166 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/1.157, allocations: 9.656 kB / 1.166 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007778/1.158, allocations: 58.25 kB / 1.166 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.46e-05/1.158, allocations: 34.58 kB / 1.166 GB, free: 464 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/1.158, allocations: 16.48 kB / 1.166 GB, free: 456 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001202/1.159, allocations: 0.6546 MB / 1.167 GB, free: 88 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.6e-07/1.159, allocations: 0 / 1.167 GB, free: 88 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.00142/1.161, allocations: 346.3 kB / 1.167 GB, free: 28 kB / 0.698 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 () * Number of clocked 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.002659/1.164, allocations: 1.434 MB / 1.169 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00231/1.166, allocations: 0.8187 MB / 1.169 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/1.166, allocations: 3.281 kB / 1.169 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005081/1.166, allocations: 197.3 kB / 1.17 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.169, allocations: 319 kB / 1.17 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009491/1.178, allocations: 4.862 MB / 1.175 GB, free: 11.37 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007071/1.179, allocations: 0.9626 MB / 1.176 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001028/1.18, allocations: 193.1 kB / 1.176 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004351/1.18, allocations: 283.6 kB / 1.176 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of SimCode: time 7.71e-07/1.18, allocations: 0 / 1.176 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04817/1.229, allocations: 21.76 MB / 1.197 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002734/1.229, allocations: 285.4 kB / 1.198 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.924/4.153, allocations: 0 / 1.198 GB, free: 10.87 MB / 0.7292 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)