Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example3.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.Example3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example3,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example3",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.226/2.226, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001456/0.001456, allocations: 176.2 kB / 492.3 MB, free: 0.6133 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.453/1.453, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008573/0.0008572, allocations: 94 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.696e-05/2.698e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2369, allocations: 142.4 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.272, allocations: 402.7 MB / 1.606 GB, free: 10.66 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/1.272, allocations: 93.2 kB / 1.606 GB, free: 10.62 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 2.743/4.015, allocations: 0.7045 GB / 2.31 GB, free: 303.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.232e-06/4.015, allocations: 3.938 kB / 2.31 GB, free: 303.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001888/4.015, allocations: 58.14 kB / 2.31 GB, free: 303.7 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.003377/4.019, allocations: 1.844 MB / 2.312 GB, free: 302.7 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/4.019, allocations: 9.688 kB / 2.312 GB, free: 302.7 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/4.019, allocations: 149.6 kB / 2.312 GB, free: 302.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/4.021, allocations: 380.9 kB / 2.313 GB, free: 302.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/4.026, allocations: 2.557 MB / 2.315 GB, free: 301.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.989e-05/4.026, allocations: 80.97 kB / 2.315 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/4.026, allocations: 108.2 kB / 2.315 GB, free: 301.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/4.028, allocations: 1.215 MB / 2.317 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/4.028, allocations: 7.781 kB / 2.317 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.484e-05/4.028, allocations: 39.39 kB / 2.317 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/4.028, allocations: 28.47 kB / 2.317 GB, free: 300.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/4.029, allocations: 0.8916 MB / 2.317 GB, free: 300.3 MB / 1.151 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.006228/4.035, allocations: 6.658 MB / 2.324 GB, free: 295.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008891/4.036, allocations: 0.5648 MB / 2.325 GB, free: 295.1 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/4.037, allocations: 370.5 kB / 2.325 GB, free: 295 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002752/4.04, allocations: 1.636 MB / 2.326 GB, free: 293.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005327/4.04, allocations: 343.2 kB / 2.327 GB, free: 293.7 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000597/4.041, allocations: 144.5 kB / 2.327 GB, free: 293.7 MB / 1.151 GB Notification: Performance of pre-optimization done (n=47): time 3.166e-06/4.041, allocations: 0 / 2.327 GB, free: 293.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=47): time 0.00138/4.042, allocations: 0.7675 MB / 2.328 GB, free: 293.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/4.042, allocations: 59.72 kB / 2.328 GB, free: 293.3 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001852/4.044, allocations: 1.554 MB / 2.329 GB, free: 292.7 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.023e-05/4.044, allocations: 40.67 kB / 2.329 GB, free: 292.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/4.045, allocations: 0.8552 MB / 2.33 GB, free: 292 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001239/4.045, allocations: 171.5 kB / 2.33 GB, free: 291.8 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-05/4.045, allocations: 15.78 kB / 2.33 GB, free: 291.8 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 9.511e-05/4.045, allocations: 336.3 kB / 2.331 GB, free: 291.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/4.045, allocations: 253.7 kB / 2.331 GB, free: 291.4 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006279/4.046, allocations: 0.6894 MB / 2.332 GB, free: 290.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005/4.046, allocations: 402.2 kB / 2.332 GB, free: 290.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/4.046, allocations: 3.562 kB / 2.332 GB, free: 290.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001686/4.048, allocations: 1.146 MB / 2.333 GB, free: 290.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001111/4.049, allocations: 4.131 MB / 2.337 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/4.049, allocations: 13.22 kB / 2.337 GB, free: 285.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004109/4.05, allocations: 135.2 kB / 2.337 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006671/4.05, allocations: 183.6 kB / 2.337 GB, free: 285.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005089/4.051, allocations: 0.7508 MB / 2.338 GB, free: 285.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/4.052, allocations: 119.6 kB / 2.338 GB, free: 285.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.607e-05/4.052, allocations: 49.58 kB / 2.338 GB, free: 285.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.365e-06/4.052, allocations: 3.594 kB / 2.338 GB, free: 285.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001373/4.054, allocations: 1.014 MB / 2.339 GB, free: 284.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.35e-05/4.054, allocations: 14.86 kB / 2.339 GB, free: 284.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001936/4.054, allocations: 124.2 kB / 2.339 GB, free: 284.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005738/4.054, allocations: 172.4 kB / 2.34 GB, free: 284.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001686/4.056, allocations: 2.128 MB / 2.342 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009643/4.057, allocations: 109.8 kB / 2.342 GB, free: 282.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.774e-05/4.057, allocations: 46.28 kB / 2.342 GB, free: 282.9 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001942/4.057, allocations: 161.5 kB / 2.342 GB, free: 282.7 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/4.058, allocations: 175.2 kB / 2.342 GB, free: 282.6 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/4.059, allocations: 0.9573 MB / 2.343 GB, free: 282.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.338e-06/4.059, allocations: 7.266 kB / 2.343 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/4.059, allocations: 0 / 2.343 GB, free: 282.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009121/4.06, allocations: 0.903 MB / 2.344 GB, free: 281.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002878/4.063, allocations: 2.125 MB / 2.346 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/4.063, allocations: 10.69 kB / 2.346 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/4.064, allocations: 95.67 kB / 2.346 GB, free: 280.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/4.064, allocations: 125.7 kB / 2.346 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.2e-05/4.064, allocations: 18.16 kB / 2.346 GB, free: 280.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004154/4.064, allocations: 0.7275 MB / 2.347 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/4.064, allocations: 6.5 kB / 2.347 GB, free: 280 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001506/4.066, allocations: 1.331 MB / 2.348 GB, free: 279.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000467/4.066, allocations: 323.1 kB / 2.349 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/4.066, allocations: 18.86 kB / 2.349 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/4.067, allocations: 81.69 kB / 2.349 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/4.067, allocations: 43.47 kB / 2.349 GB, free: 279.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/4.067, allocations: 20.92 kB / 2.349 GB, free: 279.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001293/4.069, allocations: 1.22 MB / 2.35 GB, free: 278.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/4.069, allocations: 0 / 2.35 GB, free: 278.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002286/4.071, allocations: 0.8695 MB / 2.351 GB, free: 278.4 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002829/4.074, allocations: 2.639 MB / 2.353 GB, free: 277 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001832/4.076, allocations: 1.438 MB / 2.355 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/4.076, allocations: 0 / 2.355 GB, free: 276.3 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004236/4.076, allocations: 314.1 kB / 2.355 GB, free: 276.2 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/4.079, allocations: 0.7369 MB / 2.356 GB, free: 276 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004093/4.083, allocations: 2.776 MB / 2.359 GB, free: 274.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007596/4.084, allocations: 1.532 MB / 2.36 GB, free: 273.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002445/4.086, allocations: 0.887 MB / 2.361 GB, free: 272.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006026/4.087, allocations: 0.6242 MB / 2.361 GB, free: 271.7 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/4.087, allocations: 0 / 2.361 GB, free: 271.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08237/4.169, allocations: 54.78 MB / 2.415 GB, free: 218.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001467/4.169, allocations: 214.8 kB / 2.415 GB, free: 217.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/8.096, allocations: 0 / 2.415 GB, free: 217.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example3.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example3_res.mat does not exist to compare? outputFormat=mat