Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.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.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue",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.261/2.261, allocations: 387.4 MB / 394.9 MB, free: 13.38 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.001123/0.001123, allocations: 172.9 kB / 487.4 MB, free: 5.047 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.688/1.688, allocations: 221.5 MB / 0.7824 GB, free: 1.008 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00112/0.001119, allocations: 94.66 kB / 0.9219 GB, free: 2.234 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.208e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.3139, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.005/6.319, allocations: 2.199 GB / 3.405 GB, free: 108.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/6.319, allocations: 91.23 kB / 3.405 GB, free: 108.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.431/9.75, allocations: 0.9378 GB / 4.343 GB, free: 66.8 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.164e-06/9.75, allocations: 0 / 4.343 GB, free: 66.8 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008296/9.751, allocations: 131.9 kB / 4.343 GB, free: 66.67 MB / 1.151 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.01347/9.765, allocations: 4.336 MB / 4.347 GB, free: 62.27 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/9.765, allocations: 11.97 kB / 4.347 GB, free: 62.26 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009254/9.774, allocations: 1.289 MB / 4.349 GB, free: 60.96 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/9.792, allocations: 5.542 MB / 4.354 GB, free: 55.35 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/9.792, allocations: 120 kB / 4.354 GB, free: 55.23 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001965/9.794, allocations: 223.9 kB / 4.354 GB, free: 55.02 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00976/9.804, allocations: 4.399 MB / 4.359 GB, free: 50.61 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01274/9.816, allocations: 4.551 MB / 4.363 GB, free: 45.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000203/9.817, allocations: 11.94 kB / 4.363 GB, free: 45.89 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001275/9.818, allocations: 8 kB / 4.363 GB, free: 45.88 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001547/9.818, allocations: 179.3 kB / 4.363 GB, free: 45.71 MB / 1.151 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.03296/9.851, allocations: 18.73 MB / 4.382 GB, free: 26.39 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004518/9.856, allocations: 3.06 MB / 4.385 GB, free: 23.34 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00215/9.858, allocations: 1.603 MB / 4.386 GB, free: 21.72 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/9.86, allocations: 1.868 MB / 4.388 GB, free: 19.46 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003005/9.863, allocations: 1.776 MB / 4.39 GB, free: 17.64 MB / 1.151 GB Notification: Performance of pre-optimization done (n=265): time 9.438e-06/9.863, allocations: 4 kB / 4.39 GB, free: 17.63 MB / 1.151 GB Notification: Performance of matching and sorting (n=265): time 0.06035/9.923, allocations: 7.411 MB / 4.397 GB, free: 10.16 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001107/9.923, allocations: 287.1 kB / 4.397 GB, free: 9.816 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008558/9.932, allocations: 3.017 MB / 4.4 GB, free: 6.801 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001176/9.933, allocations: 29.7 kB / 4.4 GB, free: 6.766 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.003032/9.936, allocations: 2.012 MB / 4.402 GB, free: 4.73 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001753/9.938, allocations: 0.87 MB / 4.403 GB, free: 3.848 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006904/9.939, allocations: 0 / 4.403 GB, free: 3.848 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0003107/9.939, allocations: 420 kB / 4.403 GB, free: 3.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/9.941, allocations: 1.298 MB / 4.405 GB, free: 2.129 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7467/10.69, allocations: 1.963 MB / 4.407 GB, free: 226.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1559/10.84, allocations: 13.26 MB / 4.419 GB, free: 226.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.174e-05/10.84, allocations: 4.938 kB / 4.42 GB, free: 226.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=374) (initialization): time 0.1553/11, allocations: 15.32 MB / 4.434 GB, free: 226.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001462/11, allocations: 7.301 MB / 4.442 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.885e-05/11, allocations: 17.56 kB / 4.442 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006674/11, allocations: 114 kB / 4.442 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004266/11.01, allocations: 0.8091 MB / 4.443 GB, free: 218.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001789/11.01, allocations: 1.505 MB / 4.444 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004959/11.01, allocations: 457.2 kB / 4.444 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006931/11.01, allocations: 146.5 kB / 4.445 GB, free: 217.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/11.01, allocations: 5.812 kB / 4.445 GB, free: 217.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1603/11.17, allocations: 14.94 MB / 4.459 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.699e-05/11.17, allocations: 19.5 kB / 4.459 GB, free: 216.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/11.17, allocations: 113.1 kB / 4.459 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/11.18, allocations: 0.8085 MB / 4.46 GB, free: 216.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/11.18, allocations: 1.503 MB / 4.462 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004953/11.19, allocations: 404.3 kB / 4.462 GB, free: 215.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008947/11.19, allocations: 149.8 kB / 4.462 GB, free: 215.3 MB / 1.151 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.001575/11.19, allocations: 177.5 kB / 4.462 GB, free: 215.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05964/11.25, allocations: 7.409 MB / 4.469 GB, free: 214.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001604/11.25, allocations: 362.6 kB / 4.47 GB, free: 214.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06116/11.31, allocations: 8.153 MB / 4.478 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/11.31, allocations: 25.28 kB / 4.478 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/11.31, allocations: 3.938 kB / 4.478 GB, free: 213.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05849/11.37, allocations: 7.348 MB / 4.485 GB, free: 213.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07067/11.44, allocations: 12.67 MB / 4.497 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/11.44, allocations: 4.781 kB / 4.497 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/11.44, allocations: 0.642 MB / 4.498 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005113/11.44, allocations: 95.08 kB / 4.498 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003913/11.44, allocations: 62.2 kB / 4.498 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001423/11.45, allocations: 1.508 MB / 4.5 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/11.45, allocations: 6.969 kB / 4.5 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06071/11.51, allocations: 10.04 MB / 4.509 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003165/11.51, allocations: 1.057 MB / 4.51 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001458/11.51, allocations: 19.64 kB / 4.51 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004056/11.51, allocations: 272.3 kB / 4.511 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003346/11.52, allocations: 183.4 kB / 4.511 GB, free: 209.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002967/11.52, allocations: 131.8 kB / 4.511 GB, free: 209.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003556/11.52, allocations: 2.337 MB / 4.513 GB, free: 209 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/11.52, allocations: 0 / 4.513 GB, free: 209 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.008057/11.53, allocations: 2.378 MB / 4.516 GB, free: 208.8 MB / 1.151 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.06353/11.59, allocations: 13.1 MB / 4.528 GB, free: 205.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008077/11.6, allocations: 5.35 MB / 4.534 GB, free: 205.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.467e-05/11.6, allocations: 4.75 kB / 4.534 GB, free: 205.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00235/11.6, allocations: 1.685 MB / 4.535 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009285/11.61, allocations: 1.744 MB / 4.537 GB, free: 205.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01954/11.63, allocations: 8.982 MB / 4.546 GB, free: 203.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00232/11.63, allocations: 3.153 MB / 4.549 GB, free: 202.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009782/11.64, allocations: 2.896 MB / 4.552 GB, free: 202.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/11.65, allocations: 1.841 MB / 4.553 GB, free: 202.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.242e-06/11.65, allocations: 0 / 4.553 GB, free: 202.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1721/11.82, allocations: 116.9 MB / 4.668 GB, free: 141.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001451/11.82, allocations: 189.3 kB / 4.668 GB, free: 141.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.647/17.46, allocations: 4 kB / 4.668 GB, free: 141.5 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_FlatPlateShaCoeTrue.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.FlatPlateShaCoeTrue_res.mat does not exist to compare? outputFormat=mat