Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example4,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.177/2.177, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001142/0.001142, allocations: 181 kB / 498.1 MB, free: 5.77 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 223.1 MB / 0.7948 GB, free: 18.85 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 105 kB / 0.9346 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 14.28 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.2993, allocations: 142.3 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.023/4.322, allocations: 1.952 GB / 3.174 GB, free: 26.39 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/4.322, allocations: 89.03 kB / 3.175 GB, free: 26.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 5.195/9.517, allocations: 1.47 GB / 4.645 GB, free: 201.9 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.044e-06/9.517, allocations: 0 / 4.645 GB, free: 201.9 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0001018/9.517, allocations: 40.98 kB / 4.645 GB, free: 201.9 MB / 1.182 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.004751/9.522, allocations: 2.137 MB / 4.647 GB, free: 201.2 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/9.522, allocations: 10.66 kB / 4.647 GB, free: 201.2 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001971/9.522, allocations: 154 kB / 4.647 GB, free: 201.1 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002729/9.525, allocations: 0.5113 MB / 4.647 GB, free: 201 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002549/9.528, allocations: 1.24 MB / 4.648 GB, free: 200.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008835/9.529, allocations: 268.9 kB / 4.649 GB, free: 200.7 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/9.529, allocations: 105.5 kB / 4.649 GB, free: 200.7 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002052/9.531, allocations: 1.326 MB / 4.65 GB, free: 200.4 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/9.531, allocations: 6.156 kB / 4.65 GB, free: 200.4 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.341e-05/9.531, allocations: 45.75 kB / 4.65 GB, free: 200.4 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/9.531, allocations: 41 kB / 4.65 GB, free: 200.4 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/9.533, allocations: 1.078 MB / 4.651 GB, free: 200.4 MB / 1.182 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.006122/9.539, allocations: 6.654 MB / 4.658 GB, free: 196.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001821/9.541, allocations: 0.6379 MB / 4.658 GB, free: 196.3 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003302/9.541, allocations: 279.6 kB / 4.659 GB, free: 196 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/9.542, allocations: 39.53 kB / 4.659 GB, free: 196 MB / 1.182 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/9.542, allocations: 2.219 kB / 4.659 GB, free: 196 MB / 1.182 GB Notification: Performance of matching and sorting (n=33): time 0.00228/9.544, allocations: 0.8943 MB / 4.66 GB, free: 195.9 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/9.544, allocations: 58.5 kB / 4.66 GB, free: 195.8 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/9.545, allocations: 1.188 MB / 4.661 GB, free: 195.7 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 5.896e-05/9.545, allocations: 39.58 kB / 4.661 GB, free: 195.6 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/9.546, allocations: 0.6724 MB / 4.662 GB, free: 195.4 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 7.913e-05/9.546, allocations: 127.4 kB / 4.662 GB, free: 195.4 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-05/9.546, allocations: 13.75 kB / 4.662 GB, free: 195.4 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 5.342e-05/9.546, allocations: 329.5 kB / 4.662 GB, free: 195.1 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007497/9.547, allocations: 322.8 kB / 4.662 GB, free: 195.1 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008777/9.548, allocations: 0.6655 MB / 4.663 GB, free: 194.7 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008251/9.548, allocations: 399.3 kB / 4.663 GB, free: 194.7 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/9.548, allocations: 2.938 kB / 4.663 GB, free: 194.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001956/9.55, allocations: 1.048 MB / 4.664 GB, free: 194.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005472/9.551, allocations: 3.814 MB / 4.668 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/9.551, allocations: 15.16 kB / 4.668 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/9.551, allocations: 12.84 kB / 4.668 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007732/9.552, allocations: 208 kB / 4.668 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/9.552, allocations: 18.12 kB / 4.668 GB, free: 190.7 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/9.553, allocations: 239.9 kB / 4.669 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.612e-05/9.553, allocations: 46.27 kB / 4.669 GB, free: 190.6 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/9.553, allocations: 4.656 kB / 4.669 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001695/9.555, allocations: 0.8971 MB / 4.669 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/9.555, allocations: 9.906 kB / 4.669 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/9.555, allocations: 20.66 kB / 4.669 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007199/9.556, allocations: 205 kB / 4.67 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/9.556, allocations: 24.19 kB / 4.67 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/9.557, allocations: 204 kB / 4.67 GB, free: 190.6 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/9.557, allocations: 40.7 kB / 4.67 GB, free: 190.6 MB / 1.182 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.0005529/9.557, allocations: 420.2 kB / 4.67 GB, free: 190.4 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/9.558, allocations: 139.9 kB / 4.67 GB, free: 190.3 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001471/9.559, allocations: 0.6885 MB / 4.671 GB, free: 190.3 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/9.559, allocations: 3.812 kB / 4.671 GB, free: 190.3 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/9.559, allocations: 0 / 4.671 GB, free: 190.3 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/9.559, allocations: 11.11 kB / 4.671 GB, free: 190.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/9.562, allocations: 1.923 MB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/9.562, allocations: 5.656 kB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000488/9.563, allocations: 105.2 kB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/9.563, allocations: 6.531 kB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/9.563, allocations: 14.48 kB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.683e-06/9.563, allocations: 9.641 kB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/9.563, allocations: 8.281 kB / 4.673 GB, free: 189.8 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/9.564, allocations: 1.055 MB / 4.674 GB, free: 189.2 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/9.565, allocations: 285.3 kB / 4.674 GB, free: 189 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001943/9.565, allocations: 9.875 kB / 4.674 GB, free: 189 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009548/9.566, allocations: 112.1 kB / 4.675 GB, free: 189 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/9.566, allocations: 38.73 kB / 4.675 GB, free: 189 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/9.566, allocations: 24.05 kB / 4.675 GB, free: 189 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001081/9.567, allocations: 0.9261 MB / 4.676 GB, free: 188.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.2e-07/9.567, allocations: 0 / 4.676 GB, free: 188.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.002573/9.57, allocations: 0.8723 MB / 4.676 GB, free: 188.9 MB / 1.182 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.005667/9.575, allocations: 5.644 MB / 4.682 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.002573/9.578, allocations: 1.149 MB / 4.683 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/9.578, allocations: 0 / 4.683 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/9.578, allocations: 278.8 kB / 4.683 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002682/9.581, allocations: 0.6245 MB / 4.684 GB, free: 185.5 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006375/9.588, allocations: 10.07 MB / 4.694 GB, free: 177.2 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005561/9.588, allocations: 1.21 MB / 4.695 GB, free: 176.4 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.001453/9.59, allocations: 353.3 kB / 4.695 GB, free: 176.4 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004994/9.59, allocations: 480.4 kB / 4.696 GB, free: 176.4 MB / 1.182 GB Notification: Performance of SimCode: time 6.51e-07/9.59, allocations: 0 / 4.696 GB, free: 176.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/9.712, allocations: 75.7 MB / 4.77 GB, free: 173.6 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001793/9.712, allocations: 221.5 kB / 4.77 GB, free: 173.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.482/14.19, allocations: 0 / 4.77 GB, free: 173.4 MB / 1.182 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example4.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example4_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example4.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example4_res.mat does not exist to compare? outputFormat=mat