Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.366/2.366, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.0011/0.0011, allocations: 179.9 kB / 0.4901 GB, free: 2.254 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.561/1.561, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.001357/0.001356, allocations: 96.86 kB / 0.9396 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003754/0.0003754, allocations: 6.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3556, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.373/6.729, allocations: 2.2 GB / 3.429 GB, free: 249 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/6.729, allocations: 91.95 kB / 3.43 GB, free: 248.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 10.48/17.21, allocations: 2.894 GB / 6.324 GB, free: 51.48 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.254e-06/17.21, allocations: 0 / 6.324 GB, free: 51.48 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.003403/17.21, allocations: 394.5 kB / 6.324 GB, free: 51.1 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.0671/17.28, allocations: 14.92 MB / 6.339 GB, free: 36.09 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.814e-05/17.28, allocations: 11.97 kB / 6.339 GB, free: 36.07 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009522/17.29, allocations: 1.561 MB / 6.34 GB, free: 34.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02341/17.31, allocations: 3.107 MB / 6.343 GB, free: 31.37 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05488/17.37, allocations: 18.82 MB / 6.362 GB, free: 12.54 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001059/17.37, allocations: 0.8227 MB / 6.362 GB, free: 11.71 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005696/17.37, allocations: 1.121 MB / 6.363 GB, free: 10.6 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0533/17.43, allocations: 16.85 MB / 6.38 GB, free: 9.223 MB / 1.214 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008619/17.43, allocations: 39.56 kB / 6.38 GB, free: 9.184 MB / 1.214 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005627/17.43, allocations: 499.2 kB / 6.38 GB, free: 8.699 MB / 1.214 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007351/17.43, allocations: 0.5604 MB / 6.381 GB, free: 8.137 MB / 1.214 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6924/18.13, allocations: 15.22 MB / 6.396 GB, free: 155.3 MB / 1.214 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.116/18.24, allocations: 63.64 MB / 6.458 GB, free: 134.1 MB / 1.214 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01952/18.26, allocations: 10.43 MB / 6.468 GB, free: 133.8 MB / 1.214 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002367/18.26, allocations: 2.387 MB / 6.47 GB, free: 131.4 MB / 1.214 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01256/18.28, allocations: 5.78 MB / 6.476 GB, free: 131.2 MB / 1.214 GB Notification: Performance of pre-optimization done (n=706): time 1.04e-05/18.28, allocations: 0 / 6.476 GB, free: 131.2 MB / 1.214 GB Notification: Performance of matching and sorting (n=706): time 0.03294/18.31, allocations: 14.02 MB / 6.49 GB, free: 130.2 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/18.31, allocations: 364.6 kB / 6.49 GB, free: 129.9 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02417/18.33, allocations: 11.33 MB / 6.501 GB, free: 129.3 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.002042/18.34, allocations: 168.3 kB / 6.501 GB, free: 129.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.007921/18.34, allocations: 6.336 MB / 6.508 GB, free: 127.8 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.003841/18.35, allocations: 2.453 MB / 6.51 GB, free: 126.5 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001042/18.35, allocations: 176.8 kB / 6.51 GB, free: 126.5 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.0005124/18.35, allocations: 0.6515 MB / 6.511 GB, free: 126.1 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008908/18.36, allocations: 4.641 MB / 6.515 GB, free: 126.1 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01123/18.37, allocations: 6.919 MB / 6.522 GB, free: 123.6 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/18.38, allocations: 5.85 MB / 6.528 GB, free: 123.5 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-05/18.38, allocations: 21.44 kB / 6.528 GB, free: 123.5 MB / 1.214 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.03129/18.41, allocations: 13.08 MB / 6.541 GB, free: 122.7 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 0.006351/18.42, allocations: 37.47 MB / 6.577 GB, free: 84.59 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/18.42, allocations: 62.31 kB / 6.577 GB, free: 84.59 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008349/18.42, allocations: 199.1 kB / 6.577 GB, free: 84.59 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01255/18.43, allocations: 2.368 MB / 6.58 GB, free: 84.59 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/18.43, allocations: 1.698 MB / 6.581 GB, free: 83.29 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01485/18.45, allocations: 1.613 MB / 6.583 GB, free: 82.73 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002026/18.45, allocations: 427.7 kB / 6.583 GB, free: 82.73 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/18.45, allocations: 6.75 kB / 6.583 GB, free: 82.73 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02981/18.48, allocations: 12.11 MB / 6.595 GB, free: 82.54 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/18.48, allocations: 68.53 kB / 6.595 GB, free: 82.54 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007794/18.48, allocations: 199.2 kB / 6.595 GB, free: 82.53 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/18.49, allocations: 2.373 MB / 6.598 GB, free: 82.53 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002058/18.5, allocations: 1.688 MB / 6.599 GB, free: 81.25 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01533/18.51, allocations: 1.443 MB / 6.601 GB, free: 80.79 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002791/18.51, allocations: 426.8 kB / 6.601 GB, free: 80.79 MB / 1.214 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.01315/18.53, allocations: 4.88 MB / 6.606 GB, free: 80.56 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005055/18.53, allocations: 1.124 MB / 6.607 GB, free: 79.98 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03146/18.56, allocations: 11.64 MB / 6.618 GB, free: 79.51 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.961e-05/18.56, allocations: 74.64 kB / 6.619 GB, free: 79.51 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.135e-05/18.56, allocations: 0 / 6.619 GB, free: 79.51 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02359/18.59, allocations: 9.26 MB / 6.628 GB, free: 78.97 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0703/18.66, allocations: 26.45 MB / 6.653 GB, free: 75.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.269e-05/18.66, allocations: 15.73 kB / 6.653 GB, free: 75.09 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01153/18.67, allocations: 1.726 MB / 6.655 GB, free: 75.04 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008672/18.67, allocations: 116.1 kB / 6.655 GB, free: 75.03 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002919/18.67, allocations: 245.7 kB / 6.655 GB, free: 74.93 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001983/18.68, allocations: 1.615 MB / 6.657 GB, free: 73.49 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/18.68, allocations: 14.91 kB / 6.657 GB, free: 73.49 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0446/18.72, allocations: 19.74 MB / 6.676 GB, free: 63.33 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01158/18.73, allocations: 3.078 MB / 6.679 GB, free: 61.68 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005295/18.74, allocations: 167.6 kB / 6.679 GB, free: 61.57 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01402/18.75, allocations: 0.8384 MB / 6.68 GB, free: 61.43 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001937/18.75, allocations: 463.6 kB / 6.681 GB, free: 61.36 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002265/18.76, allocations: 374.7 kB / 6.681 GB, free: 61.3 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02015/18.78, allocations: 8.902 MB / 6.69 GB, free: 58.29 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.092e-06/18.78, allocations: 0 / 6.69 GB, free: 58.29 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03141/18.81, allocations: 7.193 MB / 6.697 GB, free: 56.85 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.04567/18.85, allocations: 23.27 MB / 6.72 GB, free: 45.08 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.04116/18.89, allocations: 17.38 MB / 6.736 GB, free: 39.53 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 4.332e-05/18.89, allocations: 14.05 kB / 6.737 GB, free: 39.53 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01376/18.91, allocations: 5.09 MB / 6.741 GB, free: 37.75 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03426/18.94, allocations: 6.893 MB / 6.748 GB, free: 36.36 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1036/19.05, allocations: 91.33 MB / 6.837 GB, free: 12.16 MB / 1.276 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01183/19.06, allocations: 8.736 MB / 6.846 GB, free: 5.785 MB / 1.276 GB Notification: Performance of simCode: alias equations: time 0.03069/19.09, allocations: 7.229 MB / 6.853 GB, free: 0.9062 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128/20.22, allocations: 7.218 MB / 6.86 GB, free: 201.1 MB / 1.276 GB Notification: Performance of SimCode: time 2.425e-06/20.22, allocations: 0 / 6.86 GB, free: 201.1 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4877/20.7, allocations: 364.8 MB / 7.216 GB, free: 67.34 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/20.71, allocations: 278 kB / 7.217 GB, free: 66.97 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.04/38.74, allocations: 0 / 7.217 GB, free: 66.97 MB / 1.276 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat does not exist to compare? outputFormat=mat