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.122/2.122, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001234/0.001234, allocations: 172.9 kB / 496.1 MB, free: 12.89 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 0.7915 GB, free: 5.383 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.001022/0.001022, allocations: 99.17 kB / 0.9317 GB, free: 5.699 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.881e-05/3.915e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3036/0.3037, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.116/6.419, allocations: 2.2 GB / 3.419 GB, free: 64.95 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/6.42, allocations: 88.48 kB / 3.419 GB, free: 64.86 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.566/9.986, allocations: 0.9429 GB / 4.362 GB, free: 37 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.685e-06/9.986, allocations: 0 / 4.362 GB, free: 37 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0008399/9.987, allocations: 139.8 kB / 4.362 GB, free: 36.86 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.01478/10, allocations: 4.34 MB / 4.366 GB, free: 32.46 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/10, allocations: 8.031 kB / 4.366 GB, free: 32.45 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002348/10, allocations: 0.5227 MB / 4.367 GB, free: 31.92 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008715/10.01, allocations: 1.289 MB / 4.368 GB, free: 30.62 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/10.03, allocations: 5.535 MB / 4.373 GB, free: 25.02 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002412/10.03, allocations: 287.5 kB / 4.374 GB, free: 24.74 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001174/10.03, allocations: 383.9 kB / 4.374 GB, free: 24.37 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009133/10.04, allocations: 5.085 MB / 4.379 GB, free: 19.12 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.082e-05/10.04, allocations: 15.84 kB / 4.379 GB, free: 19.11 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000481/10.04, allocations: 164 kB / 4.379 GB, free: 18.95 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/10.04, allocations: 179.3 kB / 4.379 GB, free: 18.77 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007287/10.05, allocations: 4.682 MB / 4.384 GB, free: 14.09 MB / 1.167 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.8203/10.87, allocations: 19.46 MB / 4.403 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006724/10.87, allocations: 3.223 MB / 4.406 GB, free: 220.7 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003005/10.88, allocations: 1.674 MB / 4.408 GB, free: 220.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/10.88, allocations: 1.86 MB / 4.409 GB, free: 218.7 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003797/10.88, allocations: 1.857 MB / 4.411 GB, free: 218.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=265): time 6.282e-06/10.88, allocations: 1.969 kB / 4.411 GB, free: 218.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=265): time 0.007374/10.89, allocations: 3.151 MB / 4.414 GB, free: 218.4 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/10.89, allocations: 292.4 kB / 4.415 GB, free: 218.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007472/10.9, allocations: 3.51 MB / 4.418 GB, free: 217.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0009248/10.9, allocations: 77.33 kB / 4.418 GB, free: 217.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002288/10.9, allocations: 1.999 MB / 4.42 GB, free: 217.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001592/10.9, allocations: 0.9033 MB / 4.421 GB, free: 216.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/10.9, allocations: 57.94 kB / 4.421 GB, free: 216.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002146/10.9, allocations: 426.3 kB / 4.421 GB, free: 216.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/10.9, allocations: 1.357 MB / 4.423 GB, free: 216.5 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/10.91, allocations: 2.037 MB / 4.425 GB, free: 215.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002936/10.91, allocations: 1.708 MB / 4.426 GB, free: 215.8 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.651e-05/10.91, allocations: 5 kB / 4.426 GB, free: 215.8 MB / 1.167 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.008583/10.92, allocations: 3.989 MB / 4.43 GB, free: 215.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001591/10.92, allocations: 7.451 MB / 4.438 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/10.92, allocations: 18.19 kB / 4.438 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006959/10.92, allocations: 113.4 kB / 4.438 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00433/10.93, allocations: 0.8077 MB / 4.438 GB, free: 207.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002082/10.93, allocations: 1.567 MB / 4.44 GB, free: 206.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006272/10.93, allocations: 0.5421 MB / 4.441 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006349/10.93, allocations: 146.5 kB / 4.441 GB, free: 206.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/10.93, allocations: 6.469 kB / 4.441 GB, free: 206.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008169/10.94, allocations: 3.638 MB / 4.444 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/10.94, allocations: 17 kB / 4.444 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/10.94, allocations: 113.6 kB / 4.444 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004148/10.95, allocations: 0.8134 MB / 4.445 GB, free: 206.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002043/10.95, allocations: 1.566 MB / 4.447 GB, free: 204.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006156/10.96, allocations: 0.4966 MB / 4.447 GB, free: 204.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007584/10.96, allocations: 145.9 kB / 4.447 GB, free: 204.8 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 () * 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.001458/10.96, allocations: 283 kB / 4.448 GB, free: 204.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002191/10.96, allocations: 399.2 kB / 4.448 GB, free: 204.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009677/10.97, allocations: 3.959 MB / 4.452 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.34e-05/10.97, allocations: 31.72 kB / 4.452 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/10.97, allocations: 3.312 kB / 4.452 GB, free: 204.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005876/10.98, allocations: 3.083 MB / 4.455 GB, free: 203.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02118/11, allocations: 8.937 MB / 4.464 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/11, allocations: 7.828 kB / 4.464 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003186/11, allocations: 0.6399 MB / 4.464 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005066/11, allocations: 100.7 kB / 4.464 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002734/11, allocations: 89.23 kB / 4.464 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001605/11, allocations: 1.569 MB / 4.466 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/11, allocations: 6.406 kB / 4.466 GB, free: 201.7 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008942/11.01, allocations: 5.885 MB / 4.472 GB, free: 200.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003533/11.02, allocations: 1.095 MB / 4.473 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001188/11.02, allocations: 65.17 kB / 4.473 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003794/11.02, allocations: 318.3 kB / 4.473 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003519/11.02, allocations: 187.8 kB / 4.473 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002951/11.02, allocations: 144.7 kB / 4.473 GB, free: 200.3 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004339/11.03, allocations: 2.762 MB / 4.476 GB, free: 200.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.01e-07/11.03, allocations: 0 / 4.476 GB, free: 200.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.009081/11.03, allocations: 2.487 MB / 4.479 GB, free: 200 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) * 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.01196/11.05, allocations: 8.882 MB / 4.487 GB, free: 197.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.009718/11.06, allocations: 5.619 MB / 4.493 GB, free: 197 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.271e-05/11.06, allocations: 4.344 kB / 4.493 GB, free: 197 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002734/11.06, allocations: 1.755 MB / 4.494 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0105/11.07, allocations: 2.035 MB / 4.496 GB, free: 196.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02104/11.09, allocations: 9.305 MB / 4.505 GB, free: 195.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00244/11.09, allocations: 3.158 MB / 4.509 GB, free: 194.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01015/11.1, allocations: 3.065 MB / 4.512 GB, free: 194.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003249/11.11, allocations: 1.857 MB / 4.513 GB, free: 194.3 MB / 1.167 GB Notification: Performance of SimCode: time 3.587e-06/11.11, allocations: 0 / 4.513 GB, free: 194.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2941/11.4, allocations: 139.8 MB / 4.65 GB, free: 163.6 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002252/11.4, allocations: 243.2 kB / 4.65 GB, free: 163.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/17.88, allocations: 4 kB / 4.65 GB, free: 163.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