Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example2.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.Example2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example2",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.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.00117/0.00117, allocations: 184.8 kB / 487.4 MB, free: 5.039 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.422/1.422, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 89.69 kB / 0.9219 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.938e-05/1.941e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2883, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/1.492, allocations: 402 MB / 1.599 GB, free: 3.445 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/1.492, allocations: 86.52 kB / 1.599 GB, free: 3.402 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 1.679/3.171, allocations: 489.2 MB / 2.076 GB, free: 125.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.034e-06/3.171, allocations: 0 / 2.076 GB, free: 125.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001515/3.171, allocations: 35.98 kB / 2.076 GB, free: 125.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: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00263/3.173, allocations: 1.529 MB / 2.078 GB, free: 124.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/3.174, allocations: 12.5 kB / 2.078 GB, free: 124.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/3.175, allocations: 329.8 kB / 2.078 GB, free: 123.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003713/3.179, allocations: 1.975 MB / 2.08 GB, free: 121.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.485e-05/3.179, allocations: 24 kB / 2.08 GB, free: 121.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/3.179, allocations: 59.98 kB / 2.08 GB, free: 121.7 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001036/3.18, allocations: 0.6287 MB / 2.081 GB, free: 121.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/3.181, allocations: 0.8164 MB / 2.082 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/3.181, allocations: 3.938 kB / 2.082 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/3.181, allocations: 4 kB / 2.082 GB, free: 120.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/3.181, allocations: 19.95 kB / 2.082 GB, free: 120.2 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.005597/3.187, allocations: 4.49 MB / 2.086 GB, free: 115.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008094/3.188, allocations: 0.5897 MB / 2.087 GB, free: 114.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003998/3.188, allocations: 299.5 kB / 2.087 GB, free: 114.5 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002623/3.191, allocations: 1.684 MB / 2.089 GB, free: 112.7 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004504/3.191, allocations: 309.9 kB / 2.089 GB, free: 112.4 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000506/3.192, allocations: 95.45 kB / 2.089 GB, free: 112.3 MB / 1.151 GB Notification: Performance of pre-optimization done (n=46): time 2.605e-06/3.192, allocations: 0 / 2.089 GB, free: 112.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=46): time 0.001614/3.193, allocations: 0.719 MB / 2.09 GB, free: 111.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/3.193, allocations: 59.41 kB / 2.09 GB, free: 111.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001195/3.195, allocations: 0.9996 MB / 2.091 GB, free: 110.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.329e-05/3.195, allocations: 29.69 kB / 2.091 GB, free: 110.4 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004478/3.195, allocations: 0.6447 MB / 2.091 GB, free: 109.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/3.195, allocations: 153.8 kB / 2.092 GB, free: 109.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.358e-05/3.195, allocations: 0 / 2.092 GB, free: 109.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.883e-05/3.195, allocations: 330 kB / 2.092 GB, free: 109.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/3.196, allocations: 213.5 kB / 2.092 GB, free: 109.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000401/3.196, allocations: 0.5439 MB / 2.093 GB, free: 108.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007932/3.197, allocations: 350.8 kB / 2.093 GB, free: 108.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/3.197, allocations: 0 / 2.093 GB, free: 108.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001669/3.199, allocations: 0.9444 MB / 2.094 GB, free: 107.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005873/3.199, allocations: 3.041 MB / 2.097 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/3.199, allocations: 8 kB / 2.097 GB, free: 103.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002649/3.199, allocations: 120.7 kB / 2.097 GB, free: 103.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/3.2, allocations: 163.7 kB / 2.097 GB, free: 103.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005861/3.201, allocations: 0.7786 MB / 2.098 GB, free: 102.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/3.202, allocations: 79.77 kB / 2.098 GB, free: 102.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.447e-05/3.202, allocations: 44.05 kB / 2.098 GB, free: 102.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/3.202, allocations: 7.938 kB / 2.098 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/3.203, allocations: 0.7902 MB / 2.099 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/3.203, allocations: 8 kB / 2.099 GB, free: 101.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001666/3.203, allocations: 101.2 kB / 2.099 GB, free: 101.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005057/3.204, allocations: 151.7 kB / 2.099 GB, free: 101.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001544/3.205, allocations: 2.122 MB / 2.101 GB, free: 99.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008091/3.206, allocations: 67.86 kB / 2.101 GB, free: 99.24 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.998e-05/3.206, allocations: 39.98 kB / 2.101 GB, free: 99.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001841/3.206, allocations: 128.7 kB / 2.101 GB, free: 99.07 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001185/3.208, allocations: 0.6681 MB / 2.102 GB, free: 98.39 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/3.208, allocations: 122.5 kB / 2.102 GB, free: 98.27 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001505/3.209, allocations: 0.804 MB / 2.103 GB, free: 97.45 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/3.209, allocations: 7.938 kB / 2.103 GB, free: 97.44 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/3.209, allocations: 0 / 2.103 GB, free: 97.44 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000955/3.21, allocations: 0.8201 MB / 2.104 GB, free: 96.54 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00252/3.213, allocations: 1.715 MB / 2.105 GB, free: 94.76 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/3.213, allocations: 0 / 2.105 GB, free: 94.76 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004522/3.213, allocations: 95.86 kB / 2.105 GB, free: 94.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001828/3.214, allocations: 104.8 kB / 2.106 GB, free: 94.56 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/3.214, allocations: 8 kB / 2.106 GB, free: 94.55 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004725/3.214, allocations: 0.7473 MB / 2.106 GB, free: 93.78 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/3.214, allocations: 0 / 2.106 GB, free: 93.78 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/3.215, allocations: 1.137 MB / 2.107 GB, free: 92.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/3.216, allocations: 263.4 kB / 2.108 GB, free: 92.32 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/3.216, allocations: 0 / 2.108 GB, free: 92.32 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007217/3.217, allocations: 67.92 kB / 2.108 GB, free: 92.25 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.084e-05/3.217, allocations: 48.31 kB / 2.108 GB, free: 92.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/3.217, allocations: 23.98 kB / 2.108 GB, free: 92.18 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0009959/3.218, allocations: 0.7712 MB / 2.109 GB, free: 91.41 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.252e-06/3.218, allocations: 0 / 2.109 GB, free: 91.41 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002322/3.22, allocations: 0.6978 MB / 2.109 GB, free: 90.71 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.003054/3.223, allocations: 2.406 MB / 2.112 GB, free: 88.27 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001872/3.225, allocations: 1.226 MB / 2.113 GB, free: 87.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/3.225, allocations: 1 kB / 2.113 GB, free: 87.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004342/3.226, allocations: 293.6 kB / 2.113 GB, free: 86.73 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002344/3.228, allocations: 0.5085 MB / 2.114 GB, free: 86.23 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/3.233, allocations: 2.051 MB / 2.116 GB, free: 84.11 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008253/3.233, allocations: 1.301 MB / 2.117 GB, free: 82.78 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002078/3.236, allocations: 0.5589 MB / 2.117 GB, free: 82.22 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000579/3.236, allocations: 487.2 kB / 2.118 GB, free: 81.74 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/3.236, allocations: 0 / 2.118 GB, free: 81.74 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07879/3.315, allocations: 37.34 MB / 2.154 GB, free: 44.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001849/3.315, allocations: 159.2 kB / 2.154 GB, free: 44.51 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.808/7.124, allocations: 0 / 2.154 GB, free: 44.51 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example2.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example2_res.mat does not exist to compare? outputFormat=mat