Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.328/2.328, allocations: 393.5 MB / 408.4 MB, free: 11 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.001096/0.001095, allocations: 180 kB / 0.4901 GB, free: 2.246 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.613/1.613, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001067/0.001067, allocations: 98.84 kB / 0.9396 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 18.34 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3374/0.3378, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.131/6.469, allocations: 2.2 GB / 3.429 GB, free: 249.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002639/6.47, allocations: 97.2 kB / 3.429 GB, free: 249.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.336/9.805, allocations: 0.9454 GB / 4.375 GB, free: 199.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.206e-06/9.805, allocations: 0 / 4.375 GB, free: 199.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001066/9.806, allocations: 135.8 kB / 4.375 GB, free: 199.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 985 * Number of variables: 985 Notification: Performance of Generate backend data structure: time 0.02089/9.827, allocations: 5.192 MB / 4.38 GB, free: 194.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/9.827, allocations: 8.828 kB / 4.38 GB, free: 194.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0024/9.83, allocations: 0.5343 MB / 4.38 GB, free: 193.8 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008573/9.838, allocations: 1.289 MB / 4.382 GB, free: 192.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/9.854, allocations: 5.566 MB / 4.387 GB, free: 186.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003182/9.855, allocations: 295.5 kB / 4.387 GB, free: 186.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001844/9.857, allocations: 375.9 kB / 4.388 GB, free: 186.2 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01547/9.872, allocations: 5.426 MB / 4.393 GB, free: 180.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001851/9.872, allocations: 15.92 kB / 4.393 GB, free: 180.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001217/9.874, allocations: 168 kB / 4.393 GB, free: 180.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/9.874, allocations: 175.3 kB / 4.393 GB, free: 180.3 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01258/9.886, allocations: 5.318 MB / 4.399 GB, free: 175 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.0347/9.921, allocations: 19.48 MB / 4.418 GB, free: 154.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006954/9.928, allocations: 3.58 MB / 4.421 GB, free: 151.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001852/9.93, allocations: 1.861 MB / 4.423 GB, free: 149.1 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00431/9.934, allocations: 2.077 MB / 4.425 GB, free: 146.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=265): time 8.506e-06/9.934, allocations: 0 / 4.425 GB, free: 146.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=265): time 0.01241/9.947, allocations: 5.159 MB / 4.43 GB, free: 141.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.797e-05/9.947, allocations: 291.1 kB / 4.43 GB, free: 141.3 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005037/9.952, allocations: 3.551 MB / 4.434 GB, free: 137.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004393/9.952, allocations: 77.7 kB / 4.434 GB, free: 137.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/9.954, allocations: 1.995 MB / 4.436 GB, free: 135.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008026/9.955, allocations: 0.9011 MB / 4.437 GB, free: 134.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001843/9.955, allocations: 60 kB / 4.437 GB, free: 134.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001437/9.955, allocations: 424 kB / 4.437 GB, free: 134.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003115/9.958, allocations: 1.583 MB / 4.439 GB, free: 132.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/9.962, allocations: 2.268 MB / 4.441 GB, free: 130.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003323/9.965, allocations: 1.921 MB / 4.443 GB, free: 128.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/9.965, allocations: 7.938 kB / 4.443 GB, free: 128.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.01015/9.975, allocations: 4.446 MB / 4.447 GB, free: 123.7 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001339/9.976, allocations: 7.445 MB / 4.454 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.846e-05/9.976, allocations: 16 kB / 4.454 GB, free: 115.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006514/9.977, allocations: 112.8 kB / 4.455 GB, free: 115.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/9.981, allocations: 0.8152 MB / 4.455 GB, free: 114.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/9.983, allocations: 1.586 MB / 4.457 GB, free: 113 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004986/9.988, allocations: 0.547 MB / 4.457 GB, free: 112.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003448/9.988, allocations: 147.9 kB / 4.458 GB, free: 112.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 9.328e-06/9.988, allocations: 4 kB / 4.458 GB, free: 112.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008186/9.996, allocations: 4.089 MB / 4.462 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.341e-05/9.996, allocations: 16.94 kB / 4.462 GB, free: 108.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005953/9.997, allocations: 112.8 kB / 4.462 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003698/10, allocations: 0.8112 MB / 4.462 GB, free: 107.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/10, allocations: 1.592 MB / 4.464 GB, free: 105.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004729/10.01, allocations: 0.489 MB / 4.464 GB, free: 105 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003527/10.01, allocations: 147.9 kB / 4.465 GB, free: 104.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 76 * 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 (372): * Single equations (assignments): 371 * 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.003173/10.01, allocations: 1.525 MB / 4.466 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/10.01, allocations: 395.2 kB / 4.466 GB, free: 103 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009659/10.02, allocations: 4.424 MB / 4.471 GB, free: 98.48 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/10.02, allocations: 28 kB / 4.471 GB, free: 98.45 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/10.02, allocations: 0 / 4.471 GB, free: 98.45 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006864/10.03, allocations: 3.531 MB / 4.474 GB, free: 94.83 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.018/10.05, allocations: 9.379 MB / 4.483 GB, free: 85.24 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/10.05, allocations: 7.953 kB / 4.483 GB, free: 85.23 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003342/10.05, allocations: 0.6441 MB / 4.484 GB, free: 84.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005217/10.05, allocations: 100.7 kB / 4.484 GB, free: 84.49 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002999/10.05, allocations: 91.92 kB / 4.484 GB, free: 84.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001542/10.05, allocations: 1.591 MB / 4.486 GB, free: 82.67 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/10.05, allocations: 7.938 kB / 4.486 GB, free: 82.66 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01517/10.07, allocations: 6.549 MB / 4.492 GB, free: 75.89 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004764/10.07, allocations: 1.096 MB / 4.493 GB, free: 74.77 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002112/10.07, allocations: 60 kB / 4.493 GB, free: 74.71 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006477/10.08, allocations: 319.4 kB / 4.494 GB, free: 74.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008017/10.08, allocations: 189.8 kB / 4.494 GB, free: 74.21 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009246/10.08, allocations: 135.9 kB / 4.494 GB, free: 74.08 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008009/10.09, allocations: 2.802 MB / 4.497 GB, free: 71.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.11e-07/10.09, allocations: 0 / 4.497 GB, free: 71.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01424/10.1, allocations: 2.482 MB / 4.499 GB, free: 68.81 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 11 (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) * 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 (285): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.02518/10.13, allocations: 9.579 MB / 4.508 GB, free: 59.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01898/10.15, allocations: 6.178 MB / 4.515 GB, free: 52.97 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.7e-05/10.15, allocations: 5 kB / 4.515 GB, free: 52.97 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.005865/10.16, allocations: 1.983 MB / 4.516 GB, free: 50.97 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01389/10.17, allocations: 2.021 MB / 4.518 GB, free: 48.98 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04091/10.21, allocations: 26.42 MB / 4.544 GB, free: 21.38 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003293/10.21, allocations: 3.148 MB / 4.547 GB, free: 18.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01165/10.22, allocations: 2.089 MB / 4.549 GB, free: 16.11 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004196/10.23, allocations: 1.928 MB / 4.551 GB, free: 14.18 MB / 1.167 GB Notification: Performance of SimCode: time 1.643e-06/10.23, allocations: 0 / 4.551 GB, free: 14.18 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.913/11.14, allocations: 131.3 MB / 4.679 GB, free: 251.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/11.14, allocations: 269 kB / 4.68 GB, free: 251.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.298/17.44, allocations: 0 / 4.68 GB, free: 251.3 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat does not exist to compare? outputFormat=mat