Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example4.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.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_Example4",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.722/1.722, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001487/0.001487, allocations: 172.9 kB / 366.7 MB, free: 1.664 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.785/1.785, allocations: 205.2 MB / 0.626 GB, free: 7.199 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.000945/0.0009452, allocations: 94.95 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.614e-05, allocations: 8 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.76/0.7601, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.327/6.087, allocations: 2.106 GB / 3.079 GB, free: 282.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/6.088, allocations: 90.84 kB / 3.079 GB, free: 282.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.827/11.91, allocations: 1.436 GB / 4.515 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.084e-06/11.91, allocations: 3.469 kB / 4.515 GB, free: 126.6 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001598/11.91, allocations: 37.67 kB / 4.515 GB, free: 126.6 MB / 0.9792 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.006667/11.92, allocations: 1.894 MB / 4.517 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/11.92, allocations: 13.09 kB / 4.517 GB, free: 126.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/11.92, allocations: 0.5113 MB / 4.517 GB, free: 126.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003644/11.93, allocations: 1.226 MB / 4.518 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009781/11.93, allocations: 240.3 kB / 4.519 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002385/11.93, allocations: 57.94 kB / 4.519 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001709/11.93, allocations: 0.7085 MB / 4.519 GB, free: 125.8 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002023/11.93, allocations: 1.053 MB / 4.52 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.187e-05/11.93, allocations: 7.906 kB / 4.52 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.969e-05/11.93, allocations: 0 / 4.52 GB, free: 125.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.509e-05/11.93, allocations: 49.27 kB / 4.52 GB, free: 125.5 MB / 0.9792 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.009829/11.94, allocations: 6.389 MB / 4.527 GB, free: 121.5 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/11.94, allocations: 466.3 kB / 4.527 GB, free: 121.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/11.94, allocations: 176.1 kB / 4.527 GB, free: 121.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003954/11.95, allocations: 285.6 kB / 4.528 GB, free: 121.1 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/11.95, allocations: 38.31 kB / 4.528 GB, free: 121 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=33): time 3.807e-06/11.95, allocations: 3.156 kB / 4.528 GB, free: 121 MB / 0.9792 GB Notification: Performance of matching and sorting (n=33): time 0.001484/11.95, allocations: 485.8 kB / 4.528 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/11.95, allocations: 57.41 kB / 4.528 GB, free: 120.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00121/11.95, allocations: 0.8275 MB / 4.529 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 6.639e-05/11.95, allocations: 25.7 kB / 4.529 GB, free: 120.7 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005178/11.95, allocations: 0.6989 MB / 4.53 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/11.95, allocations: 115.6 kB / 4.53 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/11.95, allocations: 0 / 4.53 GB, free: 120.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.297e-05/11.95, allocations: 335.4 kB / 4.53 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002826/11.95, allocations: 189.3 kB / 4.53 GB, free: 120.1 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005061/11.95, allocations: 0.5547 MB / 4.531 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005067/11.95, allocations: 304.6 kB / 4.531 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/11.95, allocations: 0 / 4.531 GB, free: 119.6 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001218/11.95, allocations: 0.7492 MB / 4.532 GB, free: 119.5 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001212/11.95, allocations: 4.097 MB / 4.536 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.994e-05/11.95, allocations: 11.62 kB / 4.536 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.633e-05/11.95, allocations: 18.47 kB / 4.536 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000833/11.95, allocations: 207.9 kB / 4.536 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/11.95, allocations: 24.47 kB / 4.536 GB, free: 115.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/11.96, allocations: 183.2 kB / 4.536 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/11.96, allocations: 37.09 kB / 4.536 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/11.96, allocations: 3.906 kB / 4.536 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/11.96, allocations: 0.6061 MB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/11.96, allocations: 10.72 kB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/11.96, allocations: 21.05 kB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007931/11.96, allocations: 203.1 kB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/11.96, allocations: 22.27 kB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/11.96, allocations: 149.4 kB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.757e-05/11.96, allocations: 41.45 kB / 4.537 GB, free: 115.2 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002345/11.96, allocations: 137 kB / 4.537 GB, free: 115.1 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008155/11.96, allocations: 452.1 kB / 4.538 GB, free: 115 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/11.96, allocations: 114 kB / 4.538 GB, free: 115 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00103/11.96, allocations: 485.5 kB / 4.538 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/11.96, allocations: 3.656 kB / 4.538 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/11.96, allocations: 5.844 kB / 4.538 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/11.96, allocations: 0 / 4.538 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002913/11.96, allocations: 1.673 MB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/11.96, allocations: 11.34 kB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004967/11.96, allocations: 101.2 kB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.15e-05/11.96, allocations: 7.438 kB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.369e-05/11.96, allocations: 9.828 kB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/11.96, allocations: 10.88 kB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/11.96, allocations: 3.75 kB / 4.54 GB, free: 114.4 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/11.97, allocations: 0.8373 MB / 4.541 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000452/11.97, allocations: 257.1 kB / 4.541 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002034/11.97, allocations: 10.8 kB / 4.541 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009344/11.97, allocations: 99.05 kB / 4.541 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/11.97, allocations: 39.77 kB / 4.541 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.586e-05/11.97, allocations: 24.38 kB / 4.541 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0008441/11.97, allocations: 0.6178 MB / 4.542 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/11.97, allocations: 0 / 4.542 GB, free: 113.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.003148/11.97, allocations: 0.8042 MB / 4.543 GB, free: 113.6 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.006999/11.98, allocations: 5.775 MB / 4.548 GB, free: 110.3 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001756/11.98, allocations: 0.8075 MB / 4.549 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/11.98, allocations: 0 / 4.549 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/11.98, allocations: 181.3 kB / 4.549 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/11.98, allocations: 386.5 kB / 4.55 GB, free: 110.2 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006184/11.99, allocations: 1.876 MB / 4.552 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008643/11.99, allocations: 1.213 MB / 4.553 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.002071/11.99, allocations: 376.7 kB / 4.553 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006198/11.99, allocations: 455.9 kB / 4.554 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of SimCode: time 1.163e-06/11.99, allocations: 0 / 4.554 GB, free: 108.9 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/12.12, allocations: 48.11 MB / 4.601 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/12.12, allocations: 160.8 kB / 4.601 GB, free: 108 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.945/16.06, allocations: 0 / 4.601 GB, free: 108 MB / 0.9792 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)