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.705/2.705, allocations: 287.5 MB / 302.4 MB, free: 8.266 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.001373/0.001373, allocations: 170.2 kB / 371 MB, free: 10.86 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.167/2.167, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009645/0.000964, allocations: 89.34 kB / 0.743 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005159, allocations: 12.55 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2225, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.9231/1.146, allocations: 158.9 MB / 1.134 GB, free: 15.99 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01411/1.16, allocations: 5.815 MB / 1.139 GB, free: 14.62 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001169/1.161, allocations: 18.09 kB / 1.139 GB, free: 14.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001442/1.162, allocations: 298.5 kB / 1.14 GB, free: 14.49 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.003662/1.166, allocations: 0.7867 MB / 1.14 GB, free: 14.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.008951/1.175, allocations: 1.941 MB / 1.142 GB, free: 13.81 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003628/1.179, allocations: 1.781 MB / 1.144 GB, free: 13.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/1.18, allocations: 0.4983 MB / 1.144 GB, free: 13.42 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002276/1.182, allocations: 0.6653 MB / 1.145 GB, free: 13.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001308/1.184, allocations: 0.5177 MB / 1.146 GB, free: 13.12 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/1.184, allocations: 38.41 kB / 1.146 GB, free: 13.11 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002915/1.187, allocations: 0.7862 MB / 1.146 GB, free: 12.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005433/1.188, allocations: 239.9 kB / 1.147 GB, free: 12.79 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003865/1.188, allocations: 167.3 kB / 1.147 GB, free: 12.73 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/1.19, allocations: 0.9844 MB / 1.148 GB, free: 12.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/1.19, allocations: 0 / 1.148 GB, free: 12.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.154e-06/1.19, allocations: 1.531 kB / 1.148 GB, free: 12.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.125e-05/1.19, allocations: 0 / 1.148 GB, free: 12.18 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.004422/1.195, allocations: 1.193 MB / 1.149 GB, free: 11.32 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.195, allocations: 9.969 kB / 1.149 GB, free: 11.32 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001904/1.195, allocations: 80.88 kB / 1.149 GB, free: 11.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/1.196, allocations: 134 kB / 1.149 GB, free: 11.21 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002039/1.198, allocations: 0.7097 MB / 1.15 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/1.198, allocations: 34.75 kB / 1.15 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/1.198, allocations: 47.62 kB / 1.15 GB, free: 10.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001368/1.2, allocations: 0.5079 MB / 1.15 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/1.2, allocations: 0 / 1.15 GB, free: 10.57 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.497e-05/1.2, allocations: 19.39 kB / 1.15 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/1.2, allocations: 9.125 kB / 1.15 GB, free: 10.56 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/1.201, allocations: 351.9 kB / 1.151 GB, free: 10.5 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.00454/1.206, allocations: 1.948 MB / 1.153 GB, free: 9.16 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/1.207, allocations: 340.5 kB / 1.153 GB, free: 9.086 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005743/1.207, allocations: 172.6 kB / 1.153 GB, free: 9.047 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/1.208, allocations: 198.3 kB / 1.153 GB, free: 8.844 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/1.208, allocations: 45.22 kB / 1.153 GB, free: 8.797 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 3.196e-06/1.208, allocations: 7.875 kB / 1.153 GB, free: 8.789 MB / 0.698 GB Notification: Performance of matching and sorting (n=26): time 0.003271/1.211, allocations: 0.6974 MB / 1.154 GB, free: 8.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/1.211, allocations: 213.4 kB / 1.154 GB, free: 8.246 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002168/1.213, allocations: 0.921 MB / 1.155 GB, free: 7.973 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.214, allocations: 37.89 kB / 1.155 GB, free: 7.941 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/1.214, allocations: 357.4 kB / 1.156 GB, free: 7.797 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/1.214, allocations: 94.17 kB / 1.156 GB, free: 7.727 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.959e-05/1.214, allocations: 8.062 kB / 1.156 GB, free: 7.727 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001789/1.214, allocations: 320.7 kB / 1.156 GB, free: 7.414 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006021/1.215, allocations: 160.2 kB / 1.156 GB, free: 7.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008573/1.216, allocations: 375.5 kB / 1.156 GB, free: 7.121 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006608/1.217, allocations: 195.4 kB / 1.157 GB, free: 7.086 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.217, allocations: 4 kB / 1.157 GB, free: 7.082 MB / 0.698 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002174/1.219, allocations: 0.5328 MB / 1.157 GB, free: 6.922 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.676e-05/1.219, allocations: 110.5 kB / 1.157 GB, free: 6.809 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/1.219, allocations: 6.828 kB / 1.157 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000513/1.219, allocations: 62.06 kB / 1.157 GB, free: 6.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009773/1.22, allocations: 89.95 kB / 1.157 GB, free: 6.754 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009804/1.221, allocations: 1.153 MB / 1.159 GB, free: 5.633 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/1.223, allocations: 116.7 kB / 1.159 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/1.223, allocations: 20.75 kB / 1.159 GB, free: 5.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/1.223, allocations: 3.125 kB / 1.159 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001519/1.225, allocations: 420 kB / 1.159 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.225, allocations: 2.781 kB / 1.159 GB, free: 5.484 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/1.225, allocations: 44.86 kB / 1.159 GB, free: 5.465 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000709/1.226, allocations: 79.28 kB / 1.159 GB, free: 5.445 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001779/1.228, allocations: 1.478 MB / 1.161 GB, free: 4.039 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/1.23, allocations: 109 kB / 1.161 GB, free: 3.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-05/1.23, allocations: 12.28 kB / 1.161 GB, free: 3.992 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.0006188/1.23, allocations: 294 kB / 1.161 GB, free: 3.785 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/1.231, allocations: 76.97 kB / 1.161 GB, free: 3.746 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001658/1.232, allocations: 476.2 kB / 1.162 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.232, allocations: 2.312 kB / 1.162 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/1.232, allocations: 1.031 kB / 1.162 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/1.232, allocations: 3.984 kB / 1.162 GB, free: 3.59 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003612/1.236, allocations: 1.232 MB / 1.163 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.236, allocations: 1.406 kB / 1.163 GB, free: 2.934 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007006/1.237, allocations: 63.8 kB / 1.163 GB, free: 2.918 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001946/1.237, allocations: 40.77 kB / 1.163 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/1.237, allocations: 21.25 kB / 1.163 GB, free: 2.891 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008956/1.238, allocations: 1.143 MB / 1.164 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/1.238, allocations: 2.281 kB / 1.164 GB, free: 1.773 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002381/1.24, allocations: 0.753 MB / 1.165 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005961/1.241, allocations: 210.8 kB / 1.165 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/1.241, allocations: 15.61 kB / 1.165 GB, free: 1.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001224/1.242, allocations: 57.78 kB / 1.165 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.243, allocations: 21.12 kB / 1.165 GB, free: 1.234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/1.243, allocations: 15.17 kB / 1.165 GB, free: 1.23 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001627/1.244, allocations: 0.6578 MB / 1.166 GB, free: 1.016 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.7e-07/1.244, allocations: 4 kB / 1.166 GB, free: 1.012 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001918/1.246, allocations: 345.6 kB / 1.166 GB, free: 0.9531 MB / 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.003375/1.25, allocations: 1.425 MB / 1.167 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003198/1.253, allocations: 0.8322 MB / 1.168 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/1.253, allocations: 0 / 1.168 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/1.254, allocations: 189.6 kB / 1.168 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003155/1.257, allocations: 331.9 kB / 1.169 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/1.27, allocations: 4.849 MB / 1.174 GB, free: 12.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001078/1.271, allocations: 0.9625 MB / 1.174 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001584/1.273, allocations: 184.9 kB / 1.175 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006637/1.273, allocations: 283.5 kB / 1.175 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/1.273, allocations: 0 / 1.175 GB, free: 11.15 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07546/1.349, allocations: 21.74 MB / 1.196 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003864/1.349, allocations: 266.5 kB / 1.196 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.655/5.004, allocations: 0 / 1.196 GB, free: 12.08 MB / 0.7292 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)