Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.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.Example1v2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2",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.197/2.197, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001226/0.001226, allocations: 183 kB / 498.1 MB, free: 5.738 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.457/1.457, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.0008492/0.0008491, allocations: 97.06 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003752/0.0003751, allocations: 6.719 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2883, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.325, allocations: 419.9 MB / 1.633 GB, free: 7.336 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/1.326, allocations: 99.58 kB / 1.633 GB, free: 7.285 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.169/9.495, allocations: 2.39 GB / 4.023 GB, free: 85.91 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.635e-06/9.495, allocations: 0 / 4.023 GB, free: 85.91 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.001556/9.497, allocations: 263 kB / 4.024 GB, free: 85.66 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: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.03794/9.534, allocations: 9.574 MB / 4.033 GB, free: 76.02 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/9.535, allocations: 16.02 kB / 4.033 GB, free: 76 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004178/9.539, allocations: 0.768 MB / 4.034 GB, free: 75.23 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009125/9.548, allocations: 1.336 MB / 4.035 GB, free: 73.88 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03177/9.58, allocations: 12.92 MB / 4.048 GB, free: 60.95 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004226/9.58, allocations: 439.1 kB / 4.048 GB, free: 60.52 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00253/9.583, allocations: 0.5857 MB / 4.049 GB, free: 59.93 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/9.607, allocations: 13.65 MB / 4.062 GB, free: 46.01 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001732/9.607, allocations: 23.77 kB / 4.062 GB, free: 45.99 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001519/9.608, allocations: 244 kB / 4.062 GB, free: 45.75 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/9.608, allocations: 144 kB / 4.062 GB, free: 45.61 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0251/9.633, allocations: 18.39 MB / 4.08 GB, free: 27.21 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 1.404/11.04, allocations: 55.55 MB / 4.135 GB, free: 163 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0153/11.05, allocations: 8.881 MB / 4.143 GB, free: 163 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05415/11.11, allocations: 26.37 MB / 4.169 GB, free: 156.1 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01086/11.12, allocations: 7.435 MB / 4.176 GB, free: 156 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.04794/11.17, allocations: 21.17 MB / 4.197 GB, free: 156 MB / 1.198 GB Notification: Performance of pre-optimization done (n=301): time 3.577e-05/11.17, allocations: 2.469 kB / 4.197 GB, free: 156 MB / 1.198 GB Notification: Performance of matching and sorting (n=301): time 0.05217/11.22, allocations: 22.62 MB / 4.219 GB, free: 155.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/11.22, allocations: 88.27 kB / 4.219 GB, free: 155.3 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01654/11.24, allocations: 7.588 MB / 4.227 GB, free: 154.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002197/11.24, allocations: 96.27 kB / 4.227 GB, free: 154.9 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.005233/11.24, allocations: 4.043 MB / 4.231 GB, free: 154 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003077/11.25, allocations: 1.078 MB / 4.232 GB, free: 153.5 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001968/11.25, allocations: 96.19 kB / 4.232 GB, free: 153.5 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0004108/11.25, allocations: 494.7 kB / 4.232 GB, free: 153.2 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009634/11.26, allocations: 6.205 MB / 4.238 GB, free: 153.2 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01085/11.27, allocations: 8.012 MB / 4.246 GB, free: 150.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01071/11.28, allocations: 7.108 MB / 4.253 GB, free: 150.8 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.055e-05/11.28, allocations: 14.38 kB / 4.253 GB, free: 150.8 MB / 1.198 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.03423/11.31, allocations: 16.63 MB / 4.269 GB, free: 150.1 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.00503/11.32, allocations: 25.41 MB / 4.294 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001322/11.32, allocations: 55.66 kB / 4.294 GB, free: 123.4 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0654/11.38, allocations: 10.89 MB / 4.305 GB, free: 122.6 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008937/11.39, allocations: 1.613 MB / 4.306 GB, free: 122.6 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008448/11.4, allocations: 6.355 MB / 4.313 GB, free: 119.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01282/11.41, allocations: 0.602 MB / 4.313 GB, free: 119.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002798/11.42, allocations: 0.5417 MB / 4.314 GB, free: 119.6 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/11.42, allocations: 9.188 kB / 4.314 GB, free: 119.6 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03122/11.45, allocations: 15.96 MB / 4.329 GB, free: 119.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000272/11.45, allocations: 49.53 kB / 4.329 GB, free: 119.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06746/11.52, allocations: 10.62 MB / 4.34 GB, free: 118.4 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008625/11.53, allocations: 1.603 MB / 4.341 GB, free: 118.4 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/11.54, allocations: 10.36 MB / 4.351 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01216/11.55, allocations: 0.5804 MB / 4.352 GB, free: 113.6 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00296/11.55, allocations: 0.5387 MB / 4.352 GB, free: 113.6 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.009406/11.56, allocations: 2.664 MB / 4.355 GB, free: 113.4 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004654/11.57, allocations: 0.759 MB / 4.356 GB, free: 113 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02943/11.6, allocations: 13.72 MB / 4.369 GB, free: 112.5 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.13e-05/11.6, allocations: 32.41 kB / 4.369 GB, free: 112.5 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.072e-05/11.6, allocations: 11.86 kB / 4.369 GB, free: 112.4 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01611/11.61, allocations: 10.29 MB / 4.379 GB, free: 111.9 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0441/11.66, allocations: 24.05 MB / 4.403 GB, free: 101 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/11.66, allocations: 0 / 4.403 GB, free: 101 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005338/11.66, allocations: 0.7003 MB / 4.403 GB, free: 100.9 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06487/11.73, allocations: 9.941 MB / 4.413 GB, free: 100 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001245/11.73, allocations: 106.5 kB / 4.413 GB, free: 99.95 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004145/11.73, allocations: 4.326 MB / 4.417 GB, free: 96.61 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/11.73, allocations: 3.953 kB / 4.417 GB, free: 96.61 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02698/11.76, allocations: 18.6 MB / 4.436 GB, free: 87.54 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008452/11.77, allocations: 2.008 MB / 4.438 GB, free: 86.64 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003414/11.77, allocations: 74.14 kB / 4.438 GB, free: 86.59 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008623/11.78, allocations: 428.5 kB / 4.438 GB, free: 86.48 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001057/11.78, allocations: 219.4 kB / 4.438 GB, free: 86.46 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000766/11.78, allocations: 158.8 kB / 4.438 GB, free: 86.43 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.01085/11.79, allocations: 5.902 MB / 4.444 GB, free: 84.6 MB / 1.198 GB Notification: Performance of sort global known variables: time 5.31e-07/11.79, allocations: 4 kB / 4.444 GB, free: 84.6 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.02691/11.82, allocations: 4.936 MB / 4.449 GB, free: 83.5 MB / 1.198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].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 (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.02726/11.85, allocations: 20.19 MB / 4.469 GB, free: 65.4 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.03544/11.88, allocations: 23.63 MB / 4.492 GB, free: 45.7 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/11.88, allocations: 4.312 kB / 4.492 GB, free: 45.69 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.009334/11.89, allocations: 6.21 MB / 4.498 GB, free: 40.13 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02465/11.92, allocations: 4.61 MB / 4.502 GB, free: 36.87 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08203/12, allocations: 76.5 MB / 4.577 GB, free: 7.844 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01018/12.01, allocations: 5.408 MB / 4.582 GB, free: 3.922 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.7218/12.73, allocations: 5.043 MB / 4.587 GB, free: 207.1 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01101/12.74, allocations: 3.862 MB / 4.591 GB, free: 207.1 MB / 1.245 GB Notification: Performance of SimCode: time 1.784e-06/12.74, allocations: 3.219 kB / 4.591 GB, free: 207.1 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4344/13.18, allocations: 293.9 MB / 4.878 GB, free: 129.8 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001794/13.18, allocations: 243.2 kB / 4.878 GB, free: 129.5 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/23.52, allocations: 0 / 4.878 GB, free: 129.5 MB / 1.245 GB (rm -f Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe >> ../files/Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Examples_Performance_Example1v2.fmu > Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Examples.Performance.Example1v2_res.mat does not exist to compare? outputFormat=mat