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.263/2.263, 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.001198/0.001198, allocations: 180.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.577/1.577, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 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.001115/0.001115, allocations: 97.39 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.064e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2873, allocations: 142.4 MB / 1.206 GB, free: 43.88 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.965/6.253, allocations: 2.199 GB / 3.405 GB, free: 98.46 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/6.253, allocations: 89.7 kB / 3.405 GB, free: 98.41 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.76/17.01, allocations: 2.872 GB / 6.278 GB, free: 151 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.214e-06/17.01, allocations: 0 / 6.278 GB, free: 151 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002675/17.01, allocations: 398.3 kB / 6.278 GB, free: 150.9 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.04011/17.05, allocations: 12.2 MB / 6.29 GB, free: 146.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/17.05, allocations: 7.531 kB / 6.29 GB, free: 146.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02071/17.07, allocations: 3.096 MB / 6.293 GB, free: 145.6 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04652/17.12, allocations: 18.73 MB / 6.311 GB, free: 144 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000584/17.12, allocations: 360.4 kB / 6.312 GB, free: 144 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004233/17.13, allocations: 0.6568 MB / 6.312 GB, free: 144 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02922/17.15, allocations: 12.91 MB / 6.325 GB, free: 143.9 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03852/17.19, allocations: 14.49 MB / 6.339 GB, free: 142.3 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005837/17.19, allocations: 43.03 kB / 6.339 GB, free: 142.3 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003936/17.2, allocations: 22.25 kB / 6.339 GB, free: 142.3 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005411/17.2, allocations: 0.5753 MB / 6.34 GB, free: 142.2 MB / 1.198 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.1079/17.31, allocations: 61.37 MB / 6.4 GB, free: 120 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0143/17.32, allocations: 9.241 MB / 6.409 GB, free: 119.8 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0064/17.33, allocations: 4.926 MB / 6.414 GB, free: 119.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002428/17.33, allocations: 2.385 MB / 6.416 GB, free: 117.2 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008221/17.34, allocations: 5.072 MB / 6.421 GB, free: 117 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 1.118e-05/17.34, allocations: 0 / 6.421 GB, free: 117 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.1245/17.46, allocations: 17.73 MB / 6.438 GB, free: 116.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/17.46, allocations: 366.5 kB / 6.439 GB, free: 115.9 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01671/17.48, allocations: 9.616 MB / 6.448 GB, free: 115.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001907/17.48, allocations: 34.48 kB / 6.448 GB, free: 115.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.006303/17.49, allocations: 6.289 MB / 6.454 GB, free: 112.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003726/17.49, allocations: 2.362 MB / 6.456 GB, free: 111.4 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00073/17.49, allocations: 0 / 6.456 GB, free: 111.4 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0004827/17.49, allocations: 0.6546 MB / 6.457 GB, free: 111 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005269/17.5, allocations: 3.992 MB / 6.461 GB, free: 110.4 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006335/17.5, allocations: 6.216 MB / 6.467 GB, free: 106.1 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3059/17.81, allocations: 28.79 MB / 6.495 GB, free: 101.7 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/17.81, allocations: 20.12 kB / 6.495 GB, free: 101.7 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.3175/18.13, allocations: 34.84 MB / 6.529 GB, free: 90.59 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005463/18.13, allocations: 35.81 MB / 6.564 GB, free: 52.79 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002126/18.13, allocations: 64 kB / 6.564 GB, free: 52.73 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007735/18.13, allocations: 194.4 kB / 6.564 GB, free: 52.55 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01174/18.15, allocations: 2.366 MB / 6.567 GB, free: 50.75 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001868/18.15, allocations: 1.613 MB / 6.568 GB, free: 49.13 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01621/18.16, allocations: 1.326 MB / 6.57 GB, free: 48.04 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002648/18.17, allocations: 427 kB / 6.57 GB, free: 47.67 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/18.17, allocations: 4 kB / 6.57 GB, free: 47.66 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.314/18.48, allocations: 33.78 MB / 6.603 GB, free: 23.53 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/18.48, allocations: 64 kB / 6.603 GB, free: 23.46 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000617/18.48, allocations: 199.6 kB / 6.603 GB, free: 23.29 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01186/18.49, allocations: 2.362 MB / 6.606 GB, free: 21.48 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001738/18.5, allocations: 1.609 MB / 6.607 GB, free: 19.86 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01549/18.51, allocations: 1.156 MB / 6.608 GB, free: 18.93 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003021/18.51, allocations: 427.5 kB / 6.609 GB, free: 18.56 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 () * 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.003672/18.52, allocations: 347.1 kB / 6.609 GB, free: 18.32 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1221/18.64, allocations: 17.73 MB / 6.626 GB, free: 3.039 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004698/18.64, allocations: 1.027 MB / 6.627 GB, free: 2 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.9636/19.61, allocations: 19.25 MB / 6.646 GB, free: 154.7 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.997e-05/19.61, allocations: 69.72 kB / 6.646 GB, free: 154.7 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.57e-05/19.61, allocations: 0.9062 kB / 6.646 GB, free: 154.7 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1241/19.73, allocations: 17.15 MB / 6.663 GB, free: 154.1 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1611/19.89, allocations: 32.8 MB / 6.695 GB, free: 152.7 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-05/19.89, allocations: 10.84 kB / 6.695 GB, free: 152.7 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01148/19.91, allocations: 1.728 MB / 6.697 GB, free: 152.7 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007301/19.91, allocations: 117.9 kB / 6.697 GB, free: 152.7 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00208/19.91, allocations: 164.1 kB / 6.697 GB, free: 152.7 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001619/19.91, allocations: 1.531 MB / 6.698 GB, free: 151.5 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-05/19.91, allocations: 17.03 kB / 6.698 GB, free: 151.5 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.132/20.04, allocations: 26.67 MB / 6.724 GB, free: 147.3 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01045/20.05, allocations: 2.969 MB / 6.727 GB, free: 146.8 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005378/20.06, allocations: 51.58 kB / 6.727 GB, free: 146.8 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01332/20.07, allocations: 0.7119 MB / 6.728 GB, free: 146.8 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001657/20.07, allocations: 458.4 kB / 6.729 GB, free: 146.8 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001573/20.07, allocations: 377.9 kB / 6.729 GB, free: 146.8 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01375/20.09, allocations: 7.369 MB / 6.736 GB, free: 146.5 MB / 1.214 GB Notification: Performance of sort global known variables: time 9.01e-07/20.09, allocations: 0 / 6.736 GB, free: 146.5 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.02935/20.12, allocations: 6.912 MB / 6.743 GB, free: 145.9 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) * 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.1352/20.25, allocations: 30.38 MB / 6.773 GB, free: 139.5 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02848/20.28, allocations: 15.52 MB / 6.788 GB, free: 139.1 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 3.345e-05/20.28, allocations: 13.92 kB / 6.788 GB, free: 139.1 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.007817/20.29, allocations: 4.447 MB / 6.792 GB, free: 139 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03275/20.32, allocations: 5.88 MB / 6.798 GB, free: 138.8 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07199/20.39, allocations: 28.66 MB / 6.826 GB, free: 132.5 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01239/20.41, allocations: 8.752 MB / 6.834 GB, free: 131.3 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03806/20.44, allocations: 10.2 MB / 6.844 GB, free: 129.8 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01139/20.46, allocations: 5.798 MB / 6.85 GB, free: 129.8 MB / 1.214 GB Notification: Performance of SimCode: time 1.192e-06/20.46, allocations: 4 kB / 6.85 GB, free: 129.8 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.157/21.61, allocations: 328.4 MB / 7.171 GB, free: 196.7 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001463/21.61, allocations: 186.4 kB / 7.171 GB, free: 196.5 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/37.62, allocations: 0 / 7.171 GB, free: 196.5 MB / 1.26 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