Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.263/2.263, allocations: 390.5 MB / 398 MB, free: 11 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.001128/0.001128, allocations: 183.8 kB / 491.2 MB, free: 1.598 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.533/1.533, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.001104/0.001105, allocations: 95.88 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.481e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2545, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.388/5.642, allocations: 2.199 GB / 3.412 GB, free: 99.57 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/5.643, allocations: 88.48 kB / 3.412 GB, free: 99.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.332/8.975, allocations: 0.9366 GB / 4.348 GB, free: 47.57 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.855e-06/8.975, allocations: 3.938 kB / 4.348 GB, free: 47.56 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0007069/8.975, allocations: 131.8 kB / 4.348 GB, free: 47.43 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: 984 * Number of variables: 984 Notification: Performance of Generate backend data structure: time 0.01365/8.989, allocations: 4.336 MB / 4.353 GB, free: 43.03 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/8.989, allocations: 8.031 kB / 4.353 GB, free: 43.02 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008999/8.998, allocations: 1.285 MB / 4.354 GB, free: 41.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01624/9.014, allocations: 5.543 MB / 4.359 GB, free: 36.12 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/9.015, allocations: 120 kB / 4.359 GB, free: 36 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/9.017, allocations: 223.9 kB / 4.36 GB, free: 35.79 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01115/9.028, allocations: 4.399 MB / 4.364 GB, free: 31.38 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/9.043, allocations: 4.556 MB / 4.368 GB, free: 26.66 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002489/9.043, allocations: 11.88 kB / 4.368 GB, free: 26.65 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001559/9.045, allocations: 11.98 kB / 4.368 GB, free: 26.64 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000188/9.045, allocations: 179.3 kB / 4.369 GB, free: 26.46 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.03809/9.083, allocations: 19 MB / 4.387 GB, free: 6.836 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00488/9.088, allocations: 3.114 MB / 4.39 GB, free: 3.727 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00229/9.09, allocations: 1.614 MB / 4.392 GB, free: 2.098 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.7622/9.852, allocations: 1.867 MB / 4.394 GB, free: 223.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00423/9.857, allocations: 1.776 MB / 4.395 GB, free: 223 MB / 1.151 GB Notification: Performance of pre-optimization done (n=268): time 5.771e-06/9.857, allocations: 0.5312 kB / 4.395 GB, free: 223 MB / 1.151 GB Notification: Performance of matching and sorting (n=268): time 0.06316/9.92, allocations: 7.435 MB / 4.403 GB, free: 222.9 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/9.92, allocations: 288.1 kB / 4.403 GB, free: 222.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/9.926, allocations: 3 MB / 4.406 GB, free: 222.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0005664/9.926, allocations: 30.52 kB / 4.406 GB, free: 222.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002015/9.928, allocations: 1.99 MB / 4.408 GB, free: 221.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001103/9.929, allocations: 0.8777 MB / 4.409 GB, free: 221.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001839/9.93, allocations: 1.312 kB / 4.409 GB, free: 221.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001834/9.93, allocations: 420.5 kB / 4.409 GB, free: 221 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002286/9.932, allocations: 1.294 MB / 4.41 GB, free: 221 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002525/9.935, allocations: 1.959 MB / 4.412 GB, free: 220.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1615/10.1, allocations: 13.25 MB / 4.425 GB, free: 220.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.449e-05/10.1, allocations: 7.781 kB / 4.425 GB, free: 220.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.1572/10.25, allocations: 15.31 MB / 4.44 GB, free: 220 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/10.25, allocations: 7.306 MB / 4.447 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/10.25, allocations: 14.38 kB / 4.447 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/10.26, allocations: 117.4 kB / 4.447 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003948/10.26, allocations: 0.8206 MB / 4.448 GB, free: 212.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001743/10.26, allocations: 2.105 MB / 4.45 GB, free: 210.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004421/10.27, allocations: 443 kB / 4.451 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003842/10.27, allocations: 148.3 kB / 4.451 GB, free: 210.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.717e-06/10.27, allocations: 5.344 kB / 4.451 GB, free: 210.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1534/10.42, allocations: 14.93 MB / 4.465 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/10.42, allocations: 16.62 kB / 4.465 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/10.42, allocations: 111.9 kB / 4.466 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003567/10.42, allocations: 0.8091 MB / 4.466 GB, free: 209.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001424/10.43, allocations: 1.501 MB / 4.468 GB, free: 208.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004355/10.43, allocations: 401 kB / 4.468 GB, free: 208 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003302/10.43, allocations: 150.9 kB / 4.468 GB, free: 208 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 (371): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.0008612/10.43, allocations: 176.6 kB / 4.468 GB, free: 207.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05884/10.49, allocations: 7.437 MB / 4.476 GB, free: 207.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009401/10.49, allocations: 360.7 kB / 4.476 GB, free: 207.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05926/10.55, allocations: 8.162 MB / 4.484 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.084e-05/10.55, allocations: 38.5 kB / 4.484 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.321e-06/10.55, allocations: 3.828 kB / 4.484 GB, free: 206.6 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0576/10.61, allocations: 7.365 MB / 4.491 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06783/10.68, allocations: 12.42 MB / 4.503 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/10.68, allocations: 0 / 4.503 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/10.68, allocations: 0.6438 MB / 4.504 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004762/10.68, allocations: 94.98 kB / 4.504 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/10.68, allocations: 56.81 kB / 4.504 GB, free: 205 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001562/10.68, allocations: 2.092 MB / 4.506 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.951e-06/10.68, allocations: 6.906 kB / 4.506 GB, free: 203.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06122/10.74, allocations: 9.686 MB / 4.516 GB, free: 202.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002705/10.74, allocations: 1.064 MB / 4.517 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008915/10.75, allocations: 6.406 kB / 4.517 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00371/10.75, allocations: 294.9 kB / 4.517 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/10.75, allocations: 180.2 kB / 4.517 GB, free: 202 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002828/10.75, allocations: 131.8 kB / 4.517 GB, free: 202 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003307/10.75, allocations: 2.316 MB / 4.52 GB, free: 201.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.6e-07/10.75, allocations: 0 / 4.52 GB, free: 201.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007608/10.76, allocations: 2.373 MB / 4.522 GB, free: 201.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (288): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.06474/10.83, allocations: 12 MB / 4.534 GB, free: 199.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.008447/10.83, allocations: 5.366 MB / 4.539 GB, free: 199.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.227e-05/10.83, allocations: 6.75 kB / 4.539 GB, free: 199.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.002477/10.84, allocations: 1.702 MB / 4.541 GB, free: 199.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00926/10.85, allocations: 1.757 MB / 4.542 GB, free: 199.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02022/10.87, allocations: 8.894 MB / 4.551 GB, free: 197.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002372/10.87, allocations: 3.155 MB / 4.554 GB, free: 196.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.009531/10.88, allocations: 2.889 MB / 4.557 GB, free: 196.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002958/10.88, allocations: 1.842 MB / 4.559 GB, free: 196.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.362e-06/10.88, allocations: 4 kB / 4.559 GB, free: 196.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1907/11.07, allocations: 117.2 MB / 4.673 GB, free: 126.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/11.07, allocations: 180.6 kB / 4.673 GB, free: 126.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.816/16.89, allocations: 0 / 4.673 GB, free: 126.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat does not exist to compare? outputFormat=mat