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.191/2.191, allocations: 387.1 MB / 399.7 MB, free: 9.5 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.001105/0.001105, allocations: 176.9 kB / 492.3 MB, free: 0.5977 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.481/1.481, allocations: 221.3 MB / 0.7871 GB, free: 12.94 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.0008828/0.000883, allocations: 94.72 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.552e-05/3.554e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3042, allocations: 142.4 MB / 1.212 GB, free: 38.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.549/5.853, allocations: 2.2 GB / 3.412 GB, free: 104.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/5.853, allocations: 98.94 kB / 3.413 GB, free: 104.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 11.61/17.46, allocations: 2.887 GB / 6.299 GB, free: 147 MB / 1.198 GB Notification: Performance of FrontEnd: time 1.643e-06/17.46, allocations: 0 / 6.299 GB, free: 147 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002397/17.47, allocations: 397.8 kB / 6.3 GB, free: 146.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.03889/17.51, allocations: 12.2 MB / 6.312 GB, free: 142.4 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/17.51, allocations: 10.25 kB / 6.312 GB, free: 142.4 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006467/17.51, allocations: 1.54 MB / 6.313 GB, free: 142.3 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/17.53, allocations: 3.095 MB / 6.316 GB, free: 141.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04775/17.58, allocations: 18.73 MB / 6.335 GB, free: 139.8 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009732/17.58, allocations: 0.8225 MB / 6.335 GB, free: 139.8 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004843/17.59, allocations: 1.12 MB / 6.336 GB, free: 139.8 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04085/17.63, allocations: 16.1 MB / 6.352 GB, free: 138.1 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006116/17.63, allocations: 44.41 kB / 6.352 GB, free: 138.1 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003714/17.63, allocations: 485.4 kB / 6.353 GB, free: 138.1 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005078/17.63, allocations: 0.5751 MB / 6.353 GB, free: 138.1 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02787/17.66, allocations: 13.86 MB / 6.367 GB, free: 138 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.1059/17.77, allocations: 63.64 MB / 6.429 GB, free: 115.4 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01535/17.78, allocations: 9.575 MB / 6.438 GB, free: 115.1 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008748/17.79, allocations: 5.151 MB / 6.443 GB, free: 115.1 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002879/17.79, allocations: 2.388 MB / 6.446 GB, free: 112.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0129/17.81, allocations: 5.302 MB / 6.451 GB, free: 111.9 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 1.194e-05/17.81, allocations: 0 / 6.451 GB, free: 111.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.01822/17.82, allocations: 8.952 MB / 6.46 GB, free: 108.5 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/17.82, allocations: 363.4 kB / 6.46 GB, free: 108.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02053/17.84, allocations: 11.22 MB / 6.471 GB, free: 104.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.002308/17.85, allocations: 168.8 kB / 6.471 GB, free: 104.2 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00731/17.85, allocations: 6.343 MB / 6.477 GB, free: 99.34 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003816/17.86, allocations: 2.449 MB / 6.48 GB, free: 97.46 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008941/17.86, allocations: 176 kB / 6.48 GB, free: 97.32 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0005598/17.86, allocations: 0.6497 MB / 6.48 GB, free: 96.86 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006124/17.87, allocations: 4.157 MB / 6.484 GB, free: 95.31 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008621/17.87, allocations: 6.438 MB / 6.491 GB, free: 91.05 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008722/17.88, allocations: 5.382 MB / 6.496 GB, free: 89.16 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.299e-05/17.88, allocations: 21.69 kB / 6.496 GB, free: 89.16 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.02213/17.91, allocations: 12.11 MB / 6.508 GB, free: 85.04 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.006579/17.91, allocations: 37.48 MB / 6.544 GB, free: 62.46 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000126/17.91, allocations: 62.09 kB / 6.545 GB, free: 62.46 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007723/17.91, allocations: 196.3 kB / 6.545 GB, free: 62.45 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01166/17.92, allocations: 2.364 MB / 6.547 GB, free: 62.38 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/17.93, allocations: 1.676 MB / 6.549 GB, free: 60.96 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0148/17.94, allocations: 1.619 MB / 6.55 GB, free: 60.19 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/17.94, allocations: 431.8 kB / 6.551 GB, free: 60.12 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/17.94, allocations: 3.875 kB / 6.551 GB, free: 60.12 MB / 1.214 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02252/17.97, allocations: 11.13 MB / 6.562 GB, free: 56.1 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/17.97, allocations: 68.08 kB / 6.562 GB, free: 56.1 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006894/17.97, allocations: 195.3 kB / 6.562 GB, free: 56.08 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01154/17.98, allocations: 2.368 MB / 6.564 GB, free: 55.86 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002061/17.98, allocations: 1.672 MB / 6.566 GB, free: 54.39 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/18, allocations: 1.45 MB / 6.567 GB, free: 53.73 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002456/18, allocations: 422.6 kB / 6.568 GB, free: 53.67 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 () * 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.004099/18, allocations: 0.6265 MB / 6.568 GB, free: 53.14 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004561/18.01, allocations: 1.125 MB / 6.569 GB, free: 52.47 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02505/18.03, allocations: 10.68 MB / 6.58 GB, free: 43.61 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.569e-05/18.03, allocations: 71.95 kB / 6.58 GB, free: 43.54 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/18.03, allocations: 11.23 kB / 6.58 GB, free: 43.53 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01363/18.05, allocations: 8.316 MB / 6.588 GB, free: 36.21 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05817/18.1, allocations: 25.51 MB / 6.613 GB, free: 15.88 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.591e-05/18.11, allocations: 16.02 kB / 6.613 GB, free: 15.87 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00963/18.11, allocations: 1.729 MB / 6.614 GB, free: 14.5 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006684/18.12, allocations: 125 kB / 6.615 GB, free: 14.4 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001961/18.12, allocations: 241 kB / 6.615 GB, free: 14.21 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/18.12, allocations: 1.592 MB / 6.616 GB, free: 12.55 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/18.12, allocations: 15.94 kB / 6.616 GB, free: 12.54 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0568/18.18, allocations: 20.05 MB / 6.636 GB, free: 15.81 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01159/18.19, allocations: 3.079 MB / 6.639 GB, free: 13.21 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005438/18.19, allocations: 163.4 kB / 6.639 GB, free: 13.05 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01367/18.21, allocations: 0.8392 MB / 6.64 GB, free: 12.43 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001896/18.21, allocations: 459.3 kB / 6.64 GB, free: 12.13 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002368/18.21, allocations: 383.3 kB / 6.641 GB, free: 11.85 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.01977/18.23, allocations: 8.782 MB / 6.649 GB, free: 4.266 MB / 1.229 GB Notification: Performance of sort global known variables: time 4.41e-07/18.23, allocations: 0 / 6.649 GB, free: 4.266 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.7513/18.98, allocations: 7.183 MB / 6.656 GB, free: 169.3 MB / 1.229 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.0369/19.02, allocations: 21.83 MB / 6.678 GB, free: 163.5 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.028/19.05, allocations: 16.3 MB / 6.694 GB, free: 163.1 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 2.452e-05/19.05, allocations: 11.36 kB / 6.694 GB, free: 163.1 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.009068/19.06, allocations: 4.62 MB / 6.698 GB, free: 162.9 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03755/19.09, allocations: 6.879 MB / 6.705 GB, free: 162.8 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07246/19.17, allocations: 29.66 MB / 6.734 GB, free: 157.9 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01517/19.18, allocations: 8.757 MB / 6.742 GB, free: 156.9 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04298/19.22, allocations: 11.35 MB / 6.753 GB, free: 155.7 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01581/19.24, allocations: 5.864 MB / 6.759 GB, free: 155.7 MB / 1.229 GB Notification: Performance of SimCode: time 1.483e-06/19.24, allocations: 0 / 6.759 GB, free: 155.7 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.269/20.51, allocations: 385.4 MB / 7.136 GB, free: 164.9 MB / 1.276 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000156/20.51, allocations: 233.5 kB / 7.136 GB, free: 164.6 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.19/38.7, allocations: 3.156 kB / 7.136 GB, free: 164.6 MB / 1.276 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