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.161/2.161, allocations: 390.3 MB / 405.3 MB, free: 13.37 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.001123/0.001123, allocations: 180.6 kB / 498.1 MB, free: 5.637 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.466/1.466, allocations: 223.1 MB / 0.7948 GB, free: 18.04 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.0008848/0.0008848, allocations: 103.9 kB / 0.9346 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003725/0.0003725, allocations: 8.5 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2885, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.06/1.349, allocations: 402.8 MB / 1.616 GB, free: 8.992 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/1.349, allocations: 95.08 kB / 1.616 GB, free: 8.941 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.932/3.281, allocations: 0.7071 GB / 2.323 GB, free: 100 kB / 1.167 GB Notification: Performance of FrontEnd: time 3.337e-06/3.281, allocations: 224 / 2.323 GB, free: 100 kB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000185/3.282, allocations: 51.92 kB / 2.324 GB, free: 48 kB / 1.167 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.7074/3.989, allocations: 2.444 MB / 2.326 GB, free: 298.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.187e-05/3.989, allocations: 10.08 kB / 2.326 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004127/3.99, allocations: 150.3 kB / 2.326 GB, free: 298.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/3.992, allocations: 378.8 kB / 2.326 GB, free: 298.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007923/4, allocations: 2.587 MB / 2.329 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/4, allocations: 81.47 kB / 2.329 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/4, allocations: 112 kB / 2.329 GB, free: 298.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/4.003, allocations: 1.268 MB / 2.33 GB, free: 298 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.439e-05/4.003, allocations: 5.469 kB / 2.33 GB, free: 298 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001274/4.003, allocations: 41.88 kB / 2.33 GB, free: 298 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/4.003, allocations: 22.73 kB / 2.33 GB, free: 298 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002308/4.006, allocations: 0.9999 MB / 2.331 GB, free: 297.9 MB / 1.167 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.009248/4.015, allocations: 6.658 MB / 2.338 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001513/4.016, allocations: 0.6607 MB / 2.339 GB, free: 294.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003353/4.02, allocations: 1.638 MB / 2.34 GB, free: 293.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008932/4.021, allocations: 397 kB / 2.341 GB, free: 293.2 MB / 1.167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009396/4.022, allocations: 138 kB / 2.341 GB, free: 293.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=47): time 2.886e-06/4.022, allocations: 1.094 kB / 2.341 GB, free: 293.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=47): time 0.003425/4.025, allocations: 1.305 MB / 2.342 GB, free: 293 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.05e-05/4.025, allocations: 61.97 kB / 2.342 GB, free: 292.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/4.028, allocations: 1.571 MB / 2.344 GB, free: 292.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001106/4.028, allocations: 42.83 kB / 2.344 GB, free: 292.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/4.029, allocations: 0.8501 MB / 2.344 GB, free: 292.5 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/4.029, allocations: 164.5 kB / 2.345 GB, free: 292.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.008e-05/4.029, allocations: 13.22 kB / 2.345 GB, free: 292.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.427e-05/4.029, allocations: 344.1 kB / 2.345 GB, free: 292.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007699/4.03, allocations: 307.2 kB / 2.345 GB, free: 292.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009165/4.031, allocations: 0.7475 MB / 2.346 GB, free: 291.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008441/4.032, allocations: 446 kB / 2.346 GB, free: 291.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/4.032, allocations: 3 kB / 2.346 GB, free: 291.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002921/4.035, allocations: 1.254 MB / 2.348 GB, free: 291.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008871/4.035, allocations: 4.132 MB / 2.352 GB, free: 287 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-05/4.035, allocations: 9.938 kB / 2.352 GB, free: 287 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004518/4.036, allocations: 143.9 kB / 2.352 GB, free: 287 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/4.037, allocations: 186 kB / 2.352 GB, free: 287 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007088/4.037, allocations: 0.7601 MB / 2.353 GB, free: 286.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/4.039, allocations: 115.6 kB / 2.353 GB, free: 286.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/4.04, allocations: 50.16 kB / 2.353 GB, free: 286.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/4.04, allocations: 7.734 kB / 2.353 GB, free: 286.5 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002312/4.042, allocations: 1.111 MB / 2.354 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.538e-05/4.042, allocations: 13.09 kB / 2.354 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002868/4.042, allocations: 119.5 kB / 2.354 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006982/4.043, allocations: 175.7 kB / 2.354 GB, free: 286.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/4.045, allocations: 2.145 MB / 2.356 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/4.047, allocations: 104.1 kB / 2.356 GB, free: 285 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/4.047, allocations: 46.42 kB / 2.356 GB, free: 285 MB / 1.167 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 () * Number of clocked 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.00153/4.049, allocations: 0.5966 MB / 2.357 GB, free: 284.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006563/4.049, allocations: 172.9 kB / 2.357 GB, free: 284.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002442/4.052, allocations: 1.043 MB / 2.358 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/4.052, allocations: 10.41 kB / 2.358 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/4.052, allocations: 0 / 2.358 GB, free: 284.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00157/4.054, allocations: 0.9894 MB / 2.359 GB, free: 284.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005077/4.059, allocations: 2.223 MB / 2.361 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/4.059, allocations: 2.953 kB / 2.361 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005131/4.059, allocations: 102.8 kB / 2.362 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002648/4.059, allocations: 130.1 kB / 2.362 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.323e-05/4.06, allocations: 18.17 kB / 2.362 GB, free: 283.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004645/4.06, allocations: 0.7324 MB / 2.362 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/4.06, allocations: 2.531 kB / 2.362 GB, free: 283.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002693/4.063, allocations: 1.468 MB / 2.364 GB, free: 282.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/4.064, allocations: 323.3 kB / 2.364 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/4.064, allocations: 10.03 kB / 2.364 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008661/4.065, allocations: 87.23 kB / 2.364 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/4.065, allocations: 51.81 kB / 2.364 GB, free: 282.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.867e-05/4.065, allocations: 25.91 kB / 2.364 GB, free: 282.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001643/4.067, allocations: 1.227 MB / 2.365 GB, free: 282.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/4.067, allocations: 0 / 2.365 GB, free: 282.6 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.003477/4.07, allocations: 0.8733 MB / 2.366 GB, free: 282.6 MB / 1.167 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) * Number of clocked states: 0 () * 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.004483/4.075, allocations: 2.793 MB / 2.369 GB, free: 281.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003346/4.078, allocations: 1.511 MB / 2.371 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/4.078, allocations: 0 / 2.371 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007795/4.079, allocations: 362.6 kB / 2.371 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/4.082, allocations: 0.7404 MB / 2.372 GB, free: 281.3 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008092/4.09, allocations: 11.87 MB / 2.383 GB, free: 271.9 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/4.091, allocations: 1.531 MB / 2.385 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001839/4.093, allocations: 447.3 kB / 2.385 GB, free: 271.2 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/4.094, allocations: 0.6497 MB / 2.386 GB, free: 271.1 MB / 1.167 GB Notification: Performance of SimCode: time 1.001e-06/4.094, allocations: 0 / 2.386 GB, free: 271.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08127/4.175, allocations: 50.59 MB / 2.435 GB, free: 269.7 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001683/4.175, allocations: 246.7 kB / 2.435 GB, free: 269.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.777/7.952, allocations: 0 / 2.435 GB, free: 269.4 MB / 1.167 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