Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.359/2.359, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001269/0.001269, allocations: 173.2 kB / 498.1 MB, free: 5.734 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.485/1.485, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.00115/0.001149, allocations: 96.27 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003501/0.0003503, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.51/5.772, allocations: 2.2 GB / 3.423 GB, free: 228.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/5.773, allocations: 99.31 kB / 3.423 GB, free: 228.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.16/15.93, allocations: 2.894 GB / 6.317 GB, free: 49.48 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.555e-06/15.93, allocations: 4 kB / 6.317 GB, free: 49.48 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002964/15.93, allocations: 402.2 kB / 6.317 GB, free: 49.09 MB / 1.198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2975 * Number of variables: 2975 Notification: Performance of Generate backend data structure: time 0.04789/15.98, allocations: 14.92 MB / 6.332 GB, free: 34.09 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/15.98, allocations: 8.031 kB / 6.332 GB, free: 34.09 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007015/15.99, allocations: 1.561 MB / 6.334 GB, free: 32.51 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01979/16.01, allocations: 3.107 MB / 6.337 GB, free: 29.38 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04869/16.06, allocations: 18.81 MB / 6.355 GB, free: 10.55 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007946/16.06, allocations: 0.8305 MB / 6.356 GB, free: 9.723 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004296/16.06, allocations: 1.113 MB / 6.357 GB, free: 8.613 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.383/17.45, allocations: 16.85 MB / 6.373 GB, free: 140 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006339/17.45, allocations: 38.98 kB / 6.373 GB, free: 140 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003925/17.45, allocations: 486.8 kB / 6.374 GB, free: 140 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007767/17.45, allocations: 0.5685 MB / 6.374 GB, free: 140 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04313/17.49, allocations: 15.23 MB / 6.389 GB, free: 139.9 MB / 1.198 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.1109/17.61, allocations: 63.65 MB / 6.451 GB, free: 118.7 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0194/17.63, allocations: 10.43 MB / 6.462 GB, free: 118.4 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/17.63, allocations: 2.385 MB / 6.464 GB, free: 115.9 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0135/17.64, allocations: 5.78 MB / 6.47 GB, free: 115.7 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 1.09e-05/17.64, allocations: 0 / 6.47 GB, free: 115.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.0343/17.68, allocations: 14.02 MB / 6.483 GB, free: 114.8 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/17.68, allocations: 360.3 kB / 6.484 GB, free: 114.4 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02088/17.7, allocations: 11.33 MB / 6.495 GB, free: 113.9 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002062/17.7, allocations: 168.2 kB / 6.495 GB, free: 113.8 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006837/17.71, allocations: 6.339 MB / 6.501 GB, free: 112.3 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003478/17.71, allocations: 2.464 MB / 6.503 GB, free: 111 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008895/17.71, allocations: 170 kB / 6.504 GB, free: 111 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005457/17.71, allocations: 0.6486 MB / 6.504 GB, free: 110.7 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009006/17.72, allocations: 4.65 MB / 6.509 GB, free: 110.7 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01115/17.73, allocations: 6.918 MB / 6.516 GB, free: 108.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/17.74, allocations: 5.843 MB / 6.521 GB, free: 108 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-05/17.74, allocations: 18.84 kB / 6.521 GB, free: 108 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03053/17.77, allocations: 13.09 MB / 6.534 GB, free: 107.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006218/17.78, allocations: 37.47 MB / 6.571 GB, free: 69.14 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000231/17.78, allocations: 69.98 kB / 6.571 GB, free: 69.14 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008255/17.78, allocations: 195 kB / 6.571 GB, free: 69.13 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/17.79, allocations: 2.367 MB / 6.573 GB, free: 69.13 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001972/17.8, allocations: 1.692 MB / 6.575 GB, free: 67.84 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01598/17.81, allocations: 1.612 MB / 6.576 GB, free: 67.28 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002348/17.81, allocations: 429.9 kB / 6.577 GB, free: 67.28 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/17.81, allocations: 3.656 kB / 6.577 GB, free: 67.28 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02796/17.84, allocations: 12.11 MB / 6.589 GB, free: 67.09 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002016/17.84, allocations: 64.38 kB / 6.589 GB, free: 67.09 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000642/17.84, allocations: 200.3 kB / 6.589 GB, free: 67.08 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01282/17.86, allocations: 2.366 MB / 6.591 GB, free: 67.08 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/17.86, allocations: 1.701 MB / 6.593 GB, free: 65.79 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0161/17.87, allocations: 1.443 MB / 6.594 GB, free: 65.33 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002215/17.88, allocations: 426 kB / 6.595 GB, free: 65.33 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1097): * Single equations (assignments): 1096 * 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: 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.01159/17.89, allocations: 4.878 MB / 6.599 GB, free: 65.11 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00389/17.89, allocations: 1.124 MB / 6.601 GB, free: 64.52 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03011/17.92, allocations: 11.63 MB / 6.612 GB, free: 64.06 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.528e-05/17.92, allocations: 70.88 kB / 6.612 GB, free: 64.06 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/17.92, allocations: 3.609 kB / 6.612 GB, free: 64.06 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02087/17.94, allocations: 9.262 MB / 6.621 GB, free: 63.52 MB / 1.198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.064/18.01, allocations: 26.47 MB / 6.647 GB, free: 54.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-05/18.01, allocations: 11.34 kB / 6.647 GB, free: 54.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0104/18.02, allocations: 1.726 MB / 6.649 GB, free: 54.15 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006255/18.02, allocations: 113.5 kB / 6.649 GB, free: 54.14 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001886/18.02, allocations: 244.5 kB / 6.649 GB, free: 54.04 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001731/18.02, allocations: 1.61 MB / 6.65 GB, free: 52.6 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-05/18.02, allocations: 16.03 kB / 6.65 GB, free: 52.6 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03976/18.06, allocations: 19.74 MB / 6.67 GB, free: 58.43 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01152/18.07, allocations: 3.083 MB / 6.673 GB, free: 56.77 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005503/18.08, allocations: 171.6 kB / 6.673 GB, free: 56.67 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01855/18.1, allocations: 0.8342 MB / 6.674 GB, free: 56.52 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002281/18.1, allocations: 456.7 kB / 6.674 GB, free: 56.45 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001822/18.1, allocations: 382 kB / 6.675 GB, free: 56.39 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01909/18.12, allocations: 8.897 MB / 6.683 GB, free: 53.39 MB / 1.214 GB Notification: Performance of sort global known variables: time 3.81e-07/18.12, allocations: 0 / 6.683 GB, free: 53.39 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03406/18.15, allocations: 7.189 MB / 6.69 GB, free: 51.95 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 40 (solCol.vol[1].dynBal.U,solCol.vol[2].dynBal.U,solCol.vol[3].dynBal.U,solCol.vol[4].dynBal.U,solCol.vol[5].dynBal.U,solCol.vol[6].dynBal.U,solCol.vol[7].dynBal.U,solCol.vol[8].dynBal.U,solCol.vol[9].dynBal.U,TOut.T,TIn.T,solCol1.vol[1].dynBal.U,solCol1.vol[2].dynBal.U,solCol1.vol[3].dynBal.U,solCol1.vol[4].dynBal.U,solCol1.vol[5].dynBal.U,solCol1.vol[6].dynBal.U,solCol1.vol[7].dynBal.U,solCol1.vol[8].dynBal.U,solCol1.vol[9].dynBal.U,solCol1.vol[10].dynBal.U,solCol1.vol[11].dynBal.U,solCol1.vol[12].dynBal.U,solCol1.vol[13].dynBal.U,solCol1.vol[14].dynBal.U,solCol1.vol[15].dynBal.U,solCol1.vol[16].dynBal.U,solCol1.vol[17].dynBal.U,solCol1.vol[18].dynBal.U,solCol1.vol[19].dynBal.U,solCol1.vol[20].dynBal.U,solCol1.vol[21].dynBal.U,solCol1.vol[22].dynBal.U,solCol1.vol[23].dynBal.U,solCol1.vol[24].dynBal.U,solCol1.vol[25].dynBal.U,solCol1.vol[26].dynBal.U,solCol1.vol[27].dynBal.U,TOut1.T,TIn1.T) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (732): * Single equations (assignments): 719 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.05193/18.21, allocations: 23.27 MB / 6.713 GB, free: 40.11 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04374/18.25, allocations: 17.38 MB / 6.73 GB, free: 33.46 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.422e-05/18.25, allocations: 16.05 kB / 6.73 GB, free: 33.45 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01277/18.26, allocations: 5.09 MB / 6.735 GB, free: 29.09 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03416/18.3, allocations: 6.878 MB / 6.742 GB, free: 24.26 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7901/19.09, allocations: 91.58 MB / 6.831 GB, free: 210.7 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02058/19.11, allocations: 8.74 MB / 6.84 GB, free: 209.7 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03413/19.14, allocations: 7.239 MB / 6.847 GB, free: 209.6 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01644/19.16, allocations: 6.096 MB / 6.853 GB, free: 209.6 MB / 1.276 GB Notification: Performance of SimCode: time 1.894e-06/19.16, allocations: 1.125 kB / 6.853 GB, free: 209.6 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.502/19.66, allocations: 364.8 MB / 7.209 GB, free: 59.03 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/19.66, allocations: 276.1 kB / 7.209 GB, free: 58.66 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/33.37, allocations: 0 / 7.209 GB, free: 58.66 MB / 1.276 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat does not exist to compare? outputFormat=mat