Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.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.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirProperties,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties",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.768/1.768, allocations: 288.4 MB / 303.3 MB, free: 8.199 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.00107/0.00107, allocations: 192.4 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.598/1.598, allocations: 205.4 MB / 0.6307 GB, free: 10.01 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.0007743/0.0007743, allocations: 84.89 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004716/0.0004716, allocations: 11.12 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2593, allocations: 115.3 MB / 0.9796 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirProperties): time 0.7855/1.045, allocations: 135.2 MB / 1.112 GB, free: 2.262 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.008259/1.053, allocations: 6.524 MB / 1.118 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/1.053, allocations: 5.281 kB / 1.118 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0003128/1.054, allocations: 42.59 kB / 1.118 GB, free: 1.828 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003923/1.054, allocations: 125.6 kB / 1.118 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/1.057, allocations: 0.62 MB / 1.119 GB, free: 1.645 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0007428/1.058, allocations: 415.3 kB / 1.119 GB, free: 1.574 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.689e-05/1.058, allocations: 10 kB / 1.119 GB, free: 1.57 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004918/1.058, allocations: 170.4 kB / 1.119 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/1.059, allocations: 140.2 kB / 1.119 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.389e-05/1.059, allocations: 7.969 kB / 1.119 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/1.061, allocations: 0.6331 MB / 1.12 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001133/1.061, allocations: 69.25 kB / 1.12 GB, free: 1.434 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001558/1.061, allocations: 62.3 kB / 1.12 GB, free: 17.4 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009116/1.062, allocations: 383.5 kB / 1.121 GB, free: 17.36 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/1.062, allocations: 0 / 1.121 GB, free: 17.36 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/1.062, allocations: 0 / 1.121 GB, free: 17.36 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.662e-06/1.062, allocations: 1.375 kB / 1.121 GB, free: 17.36 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001363/1.063, allocations: 0.5542 MB / 1.121 GB, free: 16.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.49e-05/1.063, allocations: 13.02 kB / 1.121 GB, free: 16.91 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001004/1.063, allocations: 58.66 kB / 1.121 GB, free: 16.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/1.065, allocations: 131 kB / 1.121 GB, free: 16.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/1.065, allocations: 221.4 kB / 1.122 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.065, allocations: 16 kB / 1.122 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.324e-05/1.065, allocations: 14.47 kB / 1.122 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006796/1.066, allocations: 349.5 kB / 1.122 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/1.066, allocations: 1.094 kB / 1.122 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.881e-05/1.066, allocations: 9.406 kB / 1.122 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-05/1.066, allocations: 17.7 kB / 1.122 GB, free: 16.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006231/1.066, allocations: 320 kB / 1.122 GB, free: 16.54 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.001835/1.068, allocations: 1.111 MB / 1.123 GB, free: 15.77 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005153/1.069, allocations: 182.5 kB / 1.124 GB, free: 15.74 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/1.069, allocations: 83.88 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/1.07, allocations: 464 kB / 1.124 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/1.07, allocations: 36.59 kB / 1.124 GB, free: 15.22 MB / 0.698 GB Notification: Performance of pre-optimization done (n=21): time 3.397e-06/1.07, allocations: 3.984 kB / 1.124 GB, free: 15.21 MB / 0.698 GB Notification: Performance of matching and sorting (n=21): time 0.0006896/1.07, allocations: 258.2 kB / 1.124 GB, free: 15.17 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.078e-05/1.07, allocations: 54 kB / 1.124 GB, free: 15.11 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/1.071, allocations: 205.2 kB / 1.125 GB, free: 15 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.398e-05/1.071, allocations: 31.14 kB / 1.125 GB, free: 14.97 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.15e-05/1.071, allocations: 143.4 kB / 1.125 GB, free: 14.86 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/1.071, allocations: 74.66 kB / 1.125 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.464e-05/1.071, allocations: 7.375 kB / 1.125 GB, free: 14.81 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001091/1.071, allocations: 332.6 kB / 1.125 GB, free: 14.49 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/1.071, allocations: 67 kB / 1.125 GB, free: 14.49 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001867/1.071, allocations: 167 kB / 1.125 GB, free: 14.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000173/1.071, allocations: 88.86 kB / 1.125 GB, free: 14.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.071, allocations: 1.344 kB / 1.125 GB, free: 14.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005443/1.072, allocations: 282 kB / 1.126 GB, free: 14.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/1.072, allocations: 10.84 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/1.072, allocations: 2.688 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/1.072, allocations: 5.344 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002943/1.072, allocations: 54.61 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/1.072, allocations: 5.188 kB / 1.126 GB, free: 14.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002507/1.073, allocations: 38.22 kB / 1.126 GB, free: 14.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/1.073, allocations: 10.88 kB / 1.126 GB, free: 14.29 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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): 30 * Array equations: 0 * 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.0001676/1.073, allocations: 135.7 kB / 1.126 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/1.073, allocations: 25.7 kB / 1.126 GB, free: 14.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/1.074, allocations: 286.6 kB / 1.126 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/1.074, allocations: 3.656 kB / 1.126 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/1.074, allocations: 5.703 kB / 1.126 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/1.074, allocations: 0 / 1.126 GB, free: 14.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009131/1.075, allocations: 0.5732 MB / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/1.075, allocations: 1 kB / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002005/1.075, allocations: 36.56 kB / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.075, allocations: 5.984 kB / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/1.075, allocations: 5.156 kB / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/1.075, allocations: 4.578 kB / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/1.075, allocations: 0 / 1.127 GB, free: 13.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005735/1.075, allocations: 352 kB / 1.127 GB, free: 13.59 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/1.076, allocations: 118.1 kB / 1.127 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/1.076, allocations: 11.88 kB / 1.127 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002476/1.076, allocations: 10.64 kB / 1.127 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/1.076, allocations: 12.25 kB / 1.127 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.321e-05/1.076, allocations: 16.69 kB / 1.127 GB, free: 13.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001522/1.076, allocations: 148.5 kB / 1.128 GB, free: 13.41 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.076, allocations: 0 / 1.128 GB, free: 13.41 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007502/1.077, allocations: 112.6 kB / 1.128 GB, free: 13.39 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (19): * Single equations (assignments): 17 * 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.001299/1.078, allocations: 0.9704 MB / 1.129 GB, free: 12.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004425/1.079, allocations: 202.5 kB / 1.129 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/1.079, allocations: 0 / 1.129 GB, free: 12.67 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001692/1.079, allocations: 106.7 kB / 1.129 GB, free: 12.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007491/1.08, allocations: 102.7 kB / 1.129 GB, free: 12.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002394/1.082, allocations: 1.333 MB / 1.13 GB, free: 12 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/1.082, allocations: 0.737 MB / 1.131 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003496/1.083, allocations: 56.28 kB / 1.131 GB, free: 11.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001235/1.083, allocations: 57.38 kB / 1.131 GB, free: 11.27 MB / 0.698 GB Notification: Performance of SimCode: time 5.61e-07/1.083, allocations: 0 / 1.131 GB, free: 11.27 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/1.106, allocations: 7.022 MB / 1.138 GB, free: 9.094 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.106, allocations: 189.4 kB / 1.138 GB, free: 8.852 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.067/3.174, allocations: 1.969 kB / 1.138 GB, free: 8.852 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Media_Examples_AirProperties.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirProperties.pipe 2>&1)