Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch,fileNamePrefix="Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 289.7 MB / 302.3 MB, free: 2.176 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.000961/0.0009613, allocations: 184.3 kB / 371.6 MB, free: 3.363 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.603/1.603, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.0009806/0.0009806, allocations: 88.81 kB / 0.745 GB, free: 54.39 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.518e-05, allocations: 4 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.078/8.386, allocations: 2.36 GB / 3.34 GB, free: 238.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002974/8.386, allocations: 96.64 kB / 3.34 GB, free: 238.5 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.48/12.87, allocations: 1.038 GB / 4.379 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.733e-06/12.87, allocations: 0 / 4.379 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001946/12.87, allocations: 51.8 kB / 4.379 GB, free: 112.1 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.008172/12.87, allocations: 2.284 MB / 4.381 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/12.87, allocations: 13.12 kB / 4.381 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002789/12.87, allocations: 150.7 kB / 4.381 GB, free: 111.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/12.88, allocations: 0.539 MB / 4.382 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004588/12.88, allocations: 2.03 MB / 4.384 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006738/12.88, allocations: 228.5 kB / 4.384 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/12.88, allocations: 135.1 kB / 4.384 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/12.89, allocations: 1.493 MB / 4.386 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/12.89, allocations: 10.84 kB / 4.386 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001222/12.89, allocations: 45.61 kB / 4.386 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/12.89, allocations: 43.06 kB / 4.386 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002374/12.89, allocations: 1.476 MB / 4.387 GB, free: 110.5 MB / 0.9636 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.01283/12.9, allocations: 7.326 MB / 4.394 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/12.9, allocations: 1.163 MB / 4.395 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008316/12.9, allocations: 0.5698 MB / 4.396 GB, free: 107.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007777/12.9, allocations: 0.7122 MB / 4.397 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/12.9, allocations: 50.03 kB / 4.397 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=71): time 2.836e-06/12.9, allocations: 3.938 kB / 4.397 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of matching and sorting (n=71): time 0.003142/12.91, allocations: 1.252 MB / 4.398 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.663e-05/12.91, allocations: 197.6 kB / 4.398 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/12.91, allocations: 1.812 MB / 4.4 GB, free: 106.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0003831/12.91, allocations: 60.67 kB / 4.4 GB, free: 106.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008435/12.91, allocations: 0.7329 MB / 4.401 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002559/12.91, allocations: 245.5 kB / 4.401 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-05/12.91, allocations: 27.78 kB / 4.401 GB, free: 105.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001421/12.91, allocations: 360.4 kB / 4.401 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/12.92, allocations: 0.9313 MB / 4.402 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/12.92, allocations: 1.354 MB / 4.403 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001782/12.92, allocations: 1.031 MB / 4.404 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/12.92, allocations: 2.75 kB / 4.404 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=177) (initialization): time 0.004863/12.92, allocations: 2.436 MB / 4.407 GB, free: 104.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008213/12.92, allocations: 2.793 MB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.263e-05/12.92, allocations: 8.422 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.92e-05/12.92, allocations: 17.3 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002118/12.93, allocations: 390.6 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.276e-05/12.93, allocations: 22.23 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/12.93, allocations: 323.4 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003144/12.93, allocations: 89.88 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/12.93, allocations: 3.562 kB / 4.41 GB, free: 101.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004505/12.93, allocations: 2.256 MB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-05/12.93, allocations: 15.8 kB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.905e-05/12.93, allocations: 15.69 kB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/12.94, allocations: 388 kB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.533e-05/12.94, allocations: 19.39 kB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/12.94, allocations: 289 kB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/12.94, allocations: 88.48 kB / 4.413 GB, free: 101.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 (vavBra.terHea.flowRegime,vavBra.vav.idx_sorted[1],vavBra.vav.idx_sorted[2],vavBra.vav.idx_sorted[3],vavBra.vav.idx_sorted[4],vavBra.vav.idx_sorted[5],vavBra.vav.idx_sorted[6],vavBra.vav.idx_sorted[7],vavBra.vav.idx_sorted[8],vavBra.vav.idx_sorted[9],vavBra.vav.idx_sorted[10],vavBra.vav.idx_sorted[11],vavBra.vav.idx_sorted[12],vavBra.vav.idx_sorted[13],vavBra.terHea.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 160 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005197/12.94, allocations: 195.3 kB / 4.414 GB, free: 101.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009261/12.94, allocations: 168 kB / 4.414 GB, free: 101.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003287/12.94, allocations: 1.425 MB / 4.415 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/12.94, allocations: 7.719 kB / 4.415 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/12.94, allocations: 1.797 kB / 4.415 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/12.94, allocations: 5.156 kB / 4.415 GB, free: 101.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00756/12.95, allocations: 3.509 MB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/12.95, allocations: 2.188 kB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/12.95, allocations: 246.4 kB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.915e-05/12.95, allocations: 6 kB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001061/12.95, allocations: 33.58 kB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.398e-06/12.95, allocations: 3.719 kB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/12.95, allocations: 6.625 kB / 4.419 GB, free: 100.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004444/12.96, allocations: 2.423 MB / 4.421 GB, free: 100.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001397/12.96, allocations: 0.4986 MB / 4.422 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006166/12.96, allocations: 17.66 kB / 4.422 GB, free: 100.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002025/12.96, allocations: 164.7 kB / 4.422 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000211/12.96, allocations: 61.2 kB / 4.422 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001447/12.96, allocations: 56.64 kB / 4.422 GB, free: 100.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003443/12.97, allocations: 1.364 MB / 4.423 GB, free: 99.98 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5.21e-07/12.97, allocations: 3.219 kB / 4.423 GB, free: 99.98 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.006988/12.97, allocations: 1.25 MB / 4.425 GB, free: 99.83 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vavBra.vav.filter.x[1],vavBra.vav.filter.x[2]) * Number of discrete variables: 1 (vavBra.terHea.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01129/12.98, allocations: 5.787 MB / 4.43 GB, free: 97.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.006002/12.99, allocations: 3.229 MB / 4.433 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.235e-05/12.99, allocations: 2.031 kB / 4.433 GB, free: 97.42 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009766/12.99, allocations: 0.5809 MB / 4.434 GB, free: 97.41 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004912/13, allocations: 0.676 MB / 4.435 GB, free: 97.39 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009224/13.01, allocations: 2.849 MB / 4.437 GB, free: 96.6 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001073/13.01, allocations: 1.353 MB / 4.439 GB, free: 95.88 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004225/13.01, allocations: 0.6943 MB / 4.439 GB, free: 95.84 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/13.01, allocations: 0.6393 MB / 4.44 GB, free: 95.83 MB / 0.9636 GB Notification: Performance of SimCode: time 1.884e-06/13.01, allocations: 0 / 4.44 GB, free: 95.83 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/13.17, allocations: 87.15 MB / 4.525 GB, free: 91.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/13.17, allocations: 194 kB / 4.525 GB, free: 91.38 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.418/18.59, allocations: 3.344 kB / 4.525 GB, free: 91.38 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; mkfifo Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe ; head -c 1048576 < Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe >> ../files/Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch_fmu --startTime=0 --stopTime=25200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Obsolete_Examples_VAVReheat_Validation_VAVBranch.fmu > Buildings_8_Buildings.Obsolete.Examples.VAVReheat.Validation.VAVBranch.pipe 2>&1)