Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001158/0.001158, allocations: 183.4 kB / 326.5 MB, free: 2.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 93.28 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003892, allocations: 14.72 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2405/0.2409, allocations: 106.3 MB / 0.9001 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.722/5.963, allocations: 2.224 GB / 3.124 GB, free: 266.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/5.964, allocations: 90.89 kB / 3.124 GB, free: 266.7 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.25/11.21, allocations: 1.405 GB / 4.529 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.315e-06/11.21, allocations: 0 / 4.529 GB, free: 118.8 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0001135/11.21, allocations: 42.66 kB / 4.529 GB, free: 118.8 MB / 0.9011 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.005305/11.22, allocations: 2.144 MB / 4.531 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.572e-05/11.22, allocations: 10.97 kB / 4.531 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002299/11.22, allocations: 154.7 kB / 4.531 GB, free: 117.8 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002727/11.22, allocations: 0.492 MB / 4.532 GB, free: 117.7 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002817/11.22, allocations: 1.237 MB / 4.533 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008412/11.23, allocations: 273.8 kB / 4.533 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/11.23, allocations: 103.3 kB / 4.533 GB, free: 117.3 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002266/11.23, allocations: 1.323 MB / 4.535 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/11.23, allocations: 6.438 kB / 4.535 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-05/11.23, allocations: 42.62 kB / 4.535 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.163e-05/11.23, allocations: 48.69 kB / 4.535 GB, free: 117 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002173/11.23, allocations: 1.076 MB / 4.536 GB, free: 117 MB / 0.9011 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.006978/11.24, allocations: 6.722 MB / 4.542 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/11.24, allocations: 0.6375 MB / 4.543 GB, free: 112.8 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003612/11.24, allocations: 286.1 kB / 4.543 GB, free: 112.5 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/11.24, allocations: 38 kB / 4.543 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/11.24, allocations: 3.938 kB / 4.543 GB, free: 112.4 MB / 0.9011 GB Notification: Performance of matching and sorting (n=33): time 0.002341/11.24, allocations: 0.8912 MB / 4.544 GB, free: 112.3 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/11.24, allocations: 61.8 kB / 4.544 GB, free: 112.3 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/11.24, allocations: 1.184 MB / 4.545 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/11.24, allocations: 36.95 kB / 4.546 GB, free: 112.1 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004616/11.24, allocations: 0.6774 MB / 4.546 GB, free: 111.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 8.847e-05/11.24, allocations: 124.3 kB / 4.546 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/11.24, allocations: 10.31 kB / 4.546 GB, free: 111.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.95e-05/11.24, allocations: 340.9 kB / 4.547 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007568/11.25, allocations: 321.2 kB / 4.547 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009155/11.25, allocations: 0.6727 MB / 4.548 GB, free: 111 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008274/11.25, allocations: 409.1 kB / 4.548 GB, free: 111 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/11.25, allocations: 3.812 kB / 4.548 GB, free: 111 MB / 0.9011 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002082/11.25, allocations: 1.042 MB / 4.549 GB, free: 110.8 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008458/11.25, allocations: 3.816 MB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/11.25, allocations: 7.781 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.904e-05/11.25, allocations: 19.52 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008037/11.25, allocations: 209.1 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.201e-05/11.25, allocations: 21.53 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001596/11.25, allocations: 238.6 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/11.25, allocations: 37.55 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.636e-06/11.25, allocations: 3.781 kB / 4.553 GB, free: 106.9 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001837/11.25, allocations: 0.9089 MB / 4.554 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/11.25, allocations: 12.66 kB / 4.554 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/11.25, allocations: 16.45 kB / 4.554 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/11.26, allocations: 205.2 kB / 4.554 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.526e-05/11.26, allocations: 20.33 kB / 4.554 GB, free: 106.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/11.26, allocations: 204.5 kB / 4.555 GB, free: 106.7 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.042e-05/11.26, allocations: 42.44 kB / 4.555 GB, free: 106.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (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.0008142/11.26, allocations: 423.9 kB / 4.555 GB, free: 106.5 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001991/11.26, allocations: 134.2 kB / 4.555 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/11.26, allocations: 0.6878 MB / 4.556 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/11.26, allocations: 3.594 kB / 4.556 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/11.26, allocations: 1.844 kB / 4.556 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/11.26, allocations: 6.469 kB / 4.556 GB, free: 106.4 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003371/11.26, allocations: 1.93 MB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/11.26, allocations: 3.938 kB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004902/11.26, allocations: 110 kB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.348e-06/11.26, allocations: 3.781 kB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/11.26, allocations: 13.22 kB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/11.26, allocations: 3.625 kB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/11.26, allocations: 7.594 kB / 4.558 GB, free: 105.9 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001524/11.26, allocations: 1.052 MB / 4.559 GB, free: 105.3 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005505/11.27, allocations: 292.6 kB / 4.559 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001991/11.27, allocations: 10.19 kB / 4.559 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009918/11.27, allocations: 113.2 kB / 4.559 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/11.27, allocations: 32.89 kB / 4.559 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/11.27, allocations: 24.17 kB / 4.559 GB, free: 105.1 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.00129/11.27, allocations: 0.9225 MB / 4.56 GB, free: 105 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.01e-07/11.27, allocations: 0 / 4.56 GB, free: 105 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.003022/11.27, allocations: 0.8681 MB / 4.561 GB, free: 104.9 MB / 0.9011 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 () * Number of clocked 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.006605/11.28, allocations: 5.633 MB / 4.567 GB, free: 101.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002822/11.28, allocations: 1.152 MB / 4.568 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/11.28, allocations: 3.656 kB / 4.568 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/11.28, allocations: 274.3 kB / 4.568 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002878/11.28, allocations: 0.6236 MB / 4.569 GB, free: 101.4 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007417/11.29, allocations: 10.06 MB / 4.578 GB, free: 92.99 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006787/11.29, allocations: 1.207 MB / 4.58 GB, free: 92.26 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.001603/11.29, allocations: 357.6 kB / 4.58 GB, free: 92.18 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/11.29, allocations: 482.5 kB / 4.58 GB, free: 92.17 MB / 0.9011 GB Notification: Performance of SimCode: time 1.332e-06/11.29, allocations: 0 / 4.58 GB, free: 92.17 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1119/11.41, allocations: 75.61 MB / 4.654 GB, free: 36.59 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/11.41, allocations: 221.2 kB / 4.654 GB, free: 36.35 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.763/16.17, allocations: 0 / 4.654 GB, free: 36.35 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)