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.001945/0.001945, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001955/0.001956, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.853/2.853, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.96/4.96, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0007898/0.0007901, allocations: 12 kB / 0.8375 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677/1.678, allocations: 146.8 MB / 0.9809 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Dampers.Examples.VAVBoxExponential): time 0.3497/2.028, allocations: 145.9 MB / 1.123 GB, free: 4.016 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01232/2.04, allocations: 3.201 MB / 1.126 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/2.042, allocations: 15.88 kB / 1.126 GB, free: 0.793 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001743/2.043, allocations: 314.5 kB / 1.127 GB, free: 496 kB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.006727/2.05, allocations: 1.106 MB / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005168/2.055, allocations: 0.6712 MB / 1.129 GB, free: 14.71 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003629/2.059, allocations: 0.9483 MB / 1.129 GB, free: 13.77 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/2.061, allocations: 0.4921 MB / 1.13 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002925/2.064, allocations: 0.6426 MB / 1.131 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/2.065, allocations: 426.4 kB / 1.131 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/2.065, allocations: 32 kB / 1.131 GB, free: 12.17 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/2.068, allocations: 0.6981 MB / 1.132 GB, free: 11.47 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0004764/2.069, allocations: 227.3 kB / 1.132 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005899/2.07, allocations: 157.3 kB / 1.132 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002442/2.072, allocations: 0.8612 MB / 1.133 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/2.072, allocations: 0 / 1.133 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of FrontEnd: time 5.75e-06/2.072, allocations: 0 / 1.133 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 1.478e-05/2.072, allocations: 3.938 kB / 1.133 GB, free: 10.22 MB / 0.8887 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.005385/2.078, allocations: 1.129 MB / 1.134 GB, free: 9.039 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 8.874e-05/2.078, allocations: 8.031 kB / 1.134 GB, free: 9.031 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001984/2.078, allocations: 78.53 kB / 1.134 GB, free: 8.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/2.079, allocations: 130.9 kB / 1.134 GB, free: 8.816 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002604/2.082, allocations: 0.6943 MB / 1.135 GB, free: 8.082 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.984e-05/2.082, allocations: 33 kB / 1.135 GB, free: 8.047 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/2.082, allocations: 44 kB / 1.135 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001768/2.084, allocations: 462.2 kB / 1.135 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/2.084, allocations: 0 / 1.135 GB, free: 7.543 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/2.084, allocations: 12 kB / 1.135 GB, free: 7.531 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-05/2.084, allocations: 20.64 kB / 1.135 GB, free: 7.508 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001513/2.086, allocations: 366.3 kB / 1.136 GB, free: 7.152 MB / 0.8887 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.005972/2.092, allocations: 1.912 MB / 1.138 GB, free: 5.094 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/2.093, allocations: 313.2 kB / 1.138 GB, free: 4.781 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/2.093, allocations: 4 kB / 1.138 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.775e-05/2.093, allocations: 38.56 kB / 1.138 GB, free: 4.73 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=26): time 5.961e-06/2.093, allocations: 7.938 kB / 1.138 GB, free: 4.723 MB / 0.8887 GB Notification: Performance of matching and sorting (n=26): time 0.004042/2.097, allocations: 0.6857 MB / 1.139 GB, free: 4.012 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/2.097, allocations: 55.34 kB / 1.139 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002808/2.1, allocations: 0.868 MB / 1.14 GB, free: 3.066 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001165/2.1, allocations: 37.7 kB / 1.14 GB, free: 3.023 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/2.101, allocations: 336.6 kB / 1.14 GB, free: 2.688 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000205/2.101, allocations: 90.66 kB / 1.14 GB, free: 2.598 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/2.101, allocations: 8 kB / 1.14 GB, free: 2.59 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0003085/2.102, allocations: 318 kB / 1.14 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006108/2.102, allocations: 123.9 kB / 1.14 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009673/2.103, allocations: 289.9 kB / 1.141 GB, free: 1.805 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007406/2.104, allocations: 161.3 kB / 1.141 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.104, allocations: 0 / 1.141 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.002167/2.106, allocations: 467.4 kB / 1.141 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003763/2.107, allocations: 276.7 kB / 1.142 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/2.107, allocations: 4 kB / 1.142 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/2.107, allocations: 60.78 kB / 1.142 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/2.109, allocations: 107.9 kB / 1.142 GB, free: 0.7227 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/2.111, allocations: 1.154 MB / 1.143 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0019/2.113, allocations: 101.5 kB / 1.143 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.643e-05/2.113, allocations: 12 kB / 1.143 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/2.113, allocations: 4 kB / 1.143 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001563/2.114, allocations: 350.2 kB / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/2.114, allocations: 0 / 1.143 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/2.115, allocations: 44.77 kB / 1.143 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/2.115, allocations: 79.94 kB / 1.143 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/2.118, allocations: 1.483 MB / 1.145 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/2.12, allocations: 111.5 kB / 1.145 GB, free: 13.21 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.928e-05/2.12, allocations: 12 kB / 1.145 GB, free: 13.2 MB / 0.9044 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.0008128/2.121, allocations: 281 kB / 1.145 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002632/2.122, allocations: 67.16 kB / 1.145 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/2.124, allocations: 460.7 kB / 1.146 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/2.124, allocations: 7.953 kB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.478e-05/2.124, allocations: 8 kB / 1.146 GB, free: 12.38 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/2.124, allocations: 3.938 kB / 1.146 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/2.128, allocations: 1.21 MB / 1.147 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/2.128, allocations: 4.188 kB / 1.147 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007431/2.129, allocations: 67.88 kB / 1.147 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003491/2.129, allocations: 45.2 kB / 1.147 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/2.129, allocations: 12 kB / 1.147 GB, free: 10.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001381/2.131, allocations: 1.15 MB / 1.148 GB, free: 9.754 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-05/2.131, allocations: 7.969 kB / 1.148 GB, free: 9.746 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/2.134, allocations: 0.8037 MB / 1.149 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/2.134, allocations: 208 kB / 1.149 GB, free: 8.645 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/2.134, allocations: 8 kB / 1.149 GB, free: 8.637 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001068/2.135, allocations: 55.94 kB / 1.149 GB, free: 8.582 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/2.136, allocations: 27.86 kB / 1.149 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/2.136, allocations: 15.98 kB / 1.149 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.001774/2.137, allocations: 0.6357 MB / 1.15 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.7e-07/2.137, allocations: 0 / 1.15 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.001776/2.139, allocations: 307.5 kB / 1.15 GB, free: 7.609 MB / 0.9044 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.003943/2.143, allocations: 1.836 MB / 1.152 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.002838/2.146, allocations: 0.6314 MB / 1.153 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 8.065e-06/2.146, allocations: 0 / 1.153 GB, free: 5.062 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0008748/2.147, allocations: 183.8 kB / 1.153 GB, free: 4.883 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002716/2.15, allocations: 305.9 kB / 1.153 GB, free: 4.586 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01485/2.165, allocations: 4.776 MB / 1.158 GB, free: 15.73 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/2.166, allocations: 0.9567 MB / 1.159 GB, free: 14.74 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001383/2.167, allocations: 172.9 kB / 1.159 GB, free: 14.57 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006475/2.168, allocations: 271.3 kB / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of SimCode: time 1.984e-06/2.168, allocations: 0 / 1.159 GB, free: 14.31 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1242/2.292, allocations: 19.35 MB / 1.178 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005781/2.293, allocations: 269.2 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.556/6.848, allocations: 10.62 kB / 1.178 GB, free: 10.98 MB / 0.9356 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