Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.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.FlatPlateTotalArea,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea",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.252/2.252, allocations: 390.5 MB / 398 MB, free: 10.95 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.001018/0.001018, allocations: 183.8 kB / 491.2 MB, free: 1.586 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.512/1.512, allocations: 221.5 MB / 0.7868 GB, free: 13.26 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.0008839/0.0008838, allocations: 91.58 kB / 0.9269 GB, free: 13.76 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.793e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.458/5.729, allocations: 2.199 GB / 3.412 GB, free: 98.88 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/5.729, allocations: 88.61 kB / 3.412 GB, free: 98.79 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 10.43/16.16, allocations: 2.872 GB / 6.284 GB, free: 148.1 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.705e-06/16.16, allocations: 0 / 6.284 GB, free: 148.1 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.002431/16.16, allocations: 407.1 kB / 6.285 GB, free: 148 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.04092/16.21, allocations: 12.2 MB / 6.297 GB, free: 143.5 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/16.21, allocations: 9.812 kB / 6.297 GB, free: 143.5 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.019/16.22, allocations: 3.09 MB / 6.3 GB, free: 142.7 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0461/16.27, allocations: 18.73 MB / 6.318 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006364/16.27, allocations: 362.2 kB / 6.318 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00447/16.28, allocations: 0.6545 MB / 6.319 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02914/16.31, allocations: 12.92 MB / 6.332 GB, free: 141 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04465/16.35, allocations: 14.48 MB / 6.346 GB, free: 139.4 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007984/16.35, allocations: 41.98 kB / 6.346 GB, free: 139.4 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004407/16.36, allocations: 30.5 kB / 6.346 GB, free: 139.4 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004468/16.36, allocations: 0.5641 MB / 6.346 GB, free: 139.3 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.09714/16.45, allocations: 61.39 MB / 6.406 GB, free: 117 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/16.47, allocations: 9.226 MB / 6.415 GB, free: 116.8 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00716/16.47, allocations: 4.922 MB / 6.42 GB, free: 116.7 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002508/16.48, allocations: 2.391 MB / 6.422 GB, free: 114.3 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008494/16.48, allocations: 5.073 MB / 6.427 GB, free: 114.1 MB / 1.198 GB Notification: Performance of pre-optimization done (n=706): time 9.558e-06/16.48, allocations: 0 / 6.427 GB, free: 114.1 MB / 1.198 GB Notification: Performance of matching and sorting (n=706): time 0.1242/16.61, allocations: 17.73 MB / 6.445 GB, free: 113.3 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/16.61, allocations: 362 kB / 6.445 GB, free: 113 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01528/16.62, allocations: 9.609 MB / 6.454 GB, free: 112.3 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/16.63, allocations: 33.45 kB / 6.454 GB, free: 112.3 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.005374/16.63, allocations: 6.293 MB / 6.461 GB, free: 108.9 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003164/16.63, allocations: 2.358 MB / 6.463 GB, free: 107 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006578/16.64, allocations: 0 / 6.463 GB, free: 107 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.000406/16.64, allocations: 0.6532 MB / 6.464 GB, free: 106.6 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004876/16.64, allocations: 3.993 MB / 6.467 GB, free: 105 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005905/16.65, allocations: 6.21 MB / 6.474 GB, free: 100.7 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3033/16.95, allocations: 28.8 MB / 6.502 GB, free: 96.29 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.544e-05/16.95, allocations: 20.66 kB / 6.502 GB, free: 96.29 MB / 1.198 GB Notification: Performance of matching and sorting (n=1099) (initialization): time 0.3128/17.26, allocations: 34.84 MB / 6.536 GB, free: 81.68 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.005968/17.27, allocations: 35.81 MB / 6.571 GB, free: 43.88 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002013/17.27, allocations: 64 kB / 6.571 GB, free: 43.82 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007514/17.27, allocations: 201.6 kB / 6.571 GB, free: 43.64 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01201/17.28, allocations: 2.363 MB / 6.573 GB, free: 41.83 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/17.28, allocations: 1.614 MB / 6.575 GB, free: 40.21 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01616/17.3, allocations: 1.33 MB / 6.576 GB, free: 39.11 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002808/17.3, allocations: 423 kB / 6.577 GB, free: 38.75 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/17.3, allocations: 4 kB / 6.577 GB, free: 38.75 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3039/17.61, allocations: 33.78 MB / 6.61 GB, free: 14.61 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/17.61, allocations: 68 kB / 6.61 GB, free: 14.54 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005963/17.61, allocations: 198.6 kB / 6.61 GB, free: 14.37 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/17.62, allocations: 2.373 MB / 6.612 GB, free: 12.55 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001648/17.62, allocations: 1.616 MB / 6.614 GB, free: 10.89 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01535/17.64, allocations: 1.151 MB / 6.615 GB, free: 9.961 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003777/17.64, allocations: 425.8 kB / 6.615 GB, free: 9.598 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.003658/17.64, allocations: 343.8 kB / 6.616 GB, free: 9.254 MB / 1.198 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1279/17.77, allocations: 17.72 MB / 6.633 GB, free: 8.539 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004648/17.78, allocations: 1.023 MB / 6.634 GB, free: 7.504 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8758/18.65, allocations: 19.25 MB / 6.653 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.432e-05/18.65, allocations: 77.52 kB / 6.653 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-05/18.65, allocations: 0.5156 kB / 6.653 GB, free: 152.8 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1235/18.77, allocations: 17.15 MB / 6.669 GB, free: 152.2 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1581/18.93, allocations: 32.79 MB / 6.701 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.656e-05/18.93, allocations: 10.69 kB / 6.701 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0102/18.94, allocations: 1.73 MB / 6.703 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006385/18.94, allocations: 118.1 kB / 6.703 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001838/18.95, allocations: 163.6 kB / 6.703 GB, free: 150.8 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001617/18.95, allocations: 1.526 MB / 6.705 GB, free: 149.6 MB / 1.214 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-05/18.95, allocations: 17.88 kB / 6.705 GB, free: 149.6 MB / 1.214 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1333/19.08, allocations: 26.68 MB / 6.731 GB, free: 145.4 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01116/19.09, allocations: 2.963 MB / 6.734 GB, free: 144.9 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005124/19.1, allocations: 47.27 kB / 6.734 GB, free: 144.9 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01414/19.11, allocations: 0.7184 MB / 6.735 GB, free: 144.9 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001973/19.11, allocations: 454.7 kB / 6.735 GB, free: 144.9 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001592/19.11, allocations: 381.4 kB / 6.735 GB, free: 144.9 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.01459/19.13, allocations: 7.37 MB / 6.743 GB, free: 144.6 MB / 1.214 GB Notification: Performance of sort global known variables: time 5.51e-07/19.13, allocations: 1.531 kB / 6.743 GB, free: 144.6 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.03418/19.16, allocations: 6.91 MB / 6.749 GB, free: 144 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.1357/19.3, allocations: 30.38 MB / 6.779 GB, free: 137.4 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.02343/19.32, allocations: 15.52 MB / 6.794 GB, free: 137 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 2.947e-05/19.32, allocations: 11.2 kB / 6.794 GB, free: 137 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.006808/19.33, allocations: 4.454 MB / 6.799 GB, free: 136.9 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03225/19.36, allocations: 5.873 MB / 6.804 GB, free: 136.6 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07083/19.43, allocations: 28.67 MB / 6.832 GB, free: 130.2 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01021/19.44, allocations: 8.751 MB / 6.841 GB, free: 129.1 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.03941/19.48, allocations: 10.09 MB / 6.851 GB, free: 127.6 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01299/19.5, allocations: 5.805 MB / 6.856 GB, free: 127.6 MB / 1.214 GB Notification: Performance of SimCode: time 1.092e-06/19.5, allocations: 0 / 6.856 GB, free: 127.6 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.265/20.76, allocations: 328.5 MB / 7.177 GB, free: 167.1 MB / 1.26 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001736/20.76, allocations: 193.8 kB / 7.177 GB, free: 166.9 MB / 1.26 GB Notification: Performance of buildModelFMU: Generate platform static: time 18/38.76, allocations: 0 / 7.177 GB, free: 166.9 MB / 1.26 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_FlatPlateTotalArea.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.FlatPlateTotalArea_res.mat does not exist to compare? outputFormat=mat