Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential,fileNamePrefix="Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008022/0.0008026, allocations: 86.95 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008116/0.0008118, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.544/2.544, allocations: 409.4 MB / 0.684 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003584/0.0003585, allocations: 11.98 kB / 0.8378 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8666/0.8669, allocations: 146.8 MB / 0.9811 GB, free: 6.27 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.1732/1.04, allocations: 158.7 MB / 1.136 GB, free: 7.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.005355/1.046, allocations: 3.119 MB / 1.139 GB, free: 3.965 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00051/1.046, allocations: 19.88 kB / 1.139 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0007475/1.047, allocations: 226.4 kB / 1.139 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00204/1.049, allocations: 0.7995 MB / 1.14 GB, free: 2.922 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002121/1.051, allocations: 0.7777 MB / 1.141 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.001862/1.053, allocations: 1.703 MB / 1.143 GB, free: 456 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006436/1.054, allocations: 483.9 kB / 1.143 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/1.055, allocations: 0.642 MB / 1.144 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006685/1.056, allocations: 0.5329 MB / 1.144 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.754e-05/1.056, allocations: 32 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001315/1.057, allocations: 0.6665 MB / 1.145 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002621/1.057, allocations: 231.2 kB / 1.145 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001673/1.057, allocations: 157.3 kB / 1.145 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009404/1.058, allocations: 0.869 MB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.058, allocations: 4 kB / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.235e-06/1.058, allocations: 0 / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 9.478e-06/1.058, allocations: 0 / 1.146 GB, free: 12.82 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00249/1.061, allocations: 1.127 MB / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.061, allocations: 12.03 kB / 1.147 GB, free: 11.63 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000107/1.061, allocations: 78.52 kB / 1.147 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005775/1.062, allocations: 130.9 kB / 1.147 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001188/1.063, allocations: 0.6943 MB / 1.148 GB, free: 10.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.659e-05/1.063, allocations: 32.98 kB / 1.148 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/1.063, allocations: 44 kB / 1.148 GB, free: 10.61 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008822/1.064, allocations: 466.2 kB / 1.149 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/1.064, allocations: 0 / 1.149 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.064, allocations: 12 kB / 1.149 GB, free: 10.13 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/1.064, allocations: 20.64 kB / 1.149 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007253/1.065, allocations: 366.4 kB / 1.149 GB, free: 9.75 MB / 0.9044 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.002472/1.067, allocations: 1.92 MB / 1.151 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000571/1.068, allocations: 294.4 kB / 1.151 GB, free: 7.387 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000311/1.068, allocations: 164.8 kB / 1.151 GB, free: 7.223 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/1.068, allocations: 194.2 kB / 1.152 GB, free: 6.996 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/1.068, allocations: 42.56 kB / 1.152 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/1.068, allocations: 0 / 1.152 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26): time 0.001779/1.07, allocations: 0.6818 MB / 1.152 GB, free: 6.238 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/1.07, allocations: 63.28 kB / 1.152 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001205/1.072, allocations: 0.8796 MB / 1.153 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.1e-05/1.072, allocations: 37.64 kB / 1.153 GB, free: 5.23 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002652/1.072, allocations: 336.7 kB / 1.154 GB, free: 4.895 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 9.663e-05/1.072, allocations: 90.66 kB / 1.154 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.629e-05/1.072, allocations: 4 kB / 1.154 GB, free: 4.801 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001101/1.072, allocations: 318 kB / 1.154 GB, free: 4.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/1.072, allocations: 123.9 kB / 1.154 GB, free: 4.363 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/1.073, allocations: 293.9 kB / 1.154 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/1.073, allocations: 161.3 kB / 1.154 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.073, allocations: 0 / 1.154 GB, free: 3.855 MB / 0.9044 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001001/1.074, allocations: 471.4 kB / 1.155 GB, free: 3.387 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.447e-05/1.074, allocations: 110.7 kB / 1.155 GB, free: 3.266 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.074, allocations: 4 kB / 1.155 GB, free: 3.262 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/1.075, allocations: 48.81 kB / 1.155 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005393/1.075, allocations: 107.9 kB / 1.155 GB, free: 3.105 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007106/1.076, allocations: 1.158 MB / 1.156 GB, free: 1.898 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008058/1.077, allocations: 99.69 kB / 1.156 GB, free: 1.801 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/1.077, allocations: 20 kB / 1.156 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-06/1.077, allocations: 0 / 1.156 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007383/1.077, allocations: 342.1 kB / 1.157 GB, free: 1.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.584e-06/1.078, allocations: 3.938 kB / 1.157 GB, free: 1.441 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/1.078, allocations: 40.83 kB / 1.157 GB, free: 1.398 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/1.078, allocations: 83.94 kB / 1.157 GB, free: 1.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001371/1.079, allocations: 1.483 MB / 1.158 GB, free: 15.7 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008041/1.08, allocations: 101.9 kB / 1.158 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/1.08, allocations: 12 kB / 1.158 GB, free: 15.59 MB / 0.92 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 (27): * Single equations (assignments): 25 * 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 prepare postOptimizeDAE: time 0.0003405/1.081, allocations: 281 kB / 1.159 GB, free: 15.3 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/1.081, allocations: 71.11 kB / 1.159 GB, free: 15.23 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009399/1.082, allocations: 460.7 kB / 1.159 GB, free: 14.77 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/1.082, allocations: 8 kB / 1.159 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/1.082, allocations: 0 / 1.159 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.319e-06/1.082, allocations: 0 / 1.159 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0019/1.084, allocations: 1.219 MB / 1.16 GB, free: 13.47 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.084, allocations: 11.97 kB / 1.16 GB, free: 13.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/1.084, allocations: 63.89 kB / 1.16 GB, free: 13.39 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001215/1.084, allocations: 40.83 kB / 1.161 GB, free: 13.35 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/1.084, allocations: 8 kB / 1.161 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006575/1.085, allocations: 1.154 MB / 1.162 GB, free: 12.14 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.085, allocations: 8.016 kB / 1.162 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/1.086, allocations: 0.7269 MB / 1.162 GB, free: 11.37 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002737/1.086, allocations: 208 kB / 1.163 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/1.086, allocations: 8 kB / 1.163 GB, free: 11.14 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006391/1.087, allocations: 55.94 kB / 1.163 GB, free: 11.08 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.203e-05/1.087, allocations: 27.91 kB / 1.163 GB, free: 11.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/1.087, allocations: 11.98 kB / 1.163 GB, free: 11.04 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0009387/1.088, allocations: 0.6396 MB / 1.163 GB, free: 10.41 MB / 0.92 GB Notification: Performance of sort global known variables: time 4.91e-07/1.088, allocations: 0 / 1.163 GB, free: 10.41 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0009672/1.089, allocations: 303.5 kB / 1.164 GB, free: 10.11 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (dam.filter.s[1],dam.filter.s[2],vav.filter.s[1],vav.filter.s[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.001899/1.091, allocations: 1.362 MB / 1.165 GB, free: 8.711 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.001515/1.093, allocations: 0.6308 MB / 1.166 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.093, allocations: 0 / 1.166 GB, free: 8.066 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004094/1.093, allocations: 187.8 kB / 1.166 GB, free: 7.883 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.095, allocations: 305.2 kB / 1.166 GB, free: 7.59 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008118/1.103, allocations: 4.533 MB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005645/1.103, allocations: 0.9411 MB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0007163/1.104, allocations: 172.9 kB / 1.171 GB, free: 1.84 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/1.104, allocations: 267.3 kB / 1.172 GB, free: 1.578 MB / 0.92 GB Notification: Performance of SimCode: time 8.22e-07/1.104, allocations: 3.938 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03841/1.143, allocations: 19.38 MB / 1.191 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/1.143, allocations: 275.9 kB / 1.191 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.33/3.473, allocations: 0 / 1.191 GB, free: 14.22 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe >> ../files/Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential_fmu --startTime=0 --stopTime=240 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Actuators_Dampers_Examples_VAVBoxExponential.fmu > Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential_res.mat does not exist to compare? outputFormat=mat