Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.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.Tubular,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Tubular",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Examples.Tubular,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Tubular",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.274/2.274, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001172/0.001172, allocations: 177 kB / 498.1 MB, free: 5.746 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.583/1.583, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.001018/0.001018, allocations: 90.36 kB / 0.9346 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000402/0.0004021, allocations: 6.938 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3078, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.643/5.951, allocations: 2.2 GB / 3.423 GB, free: 229.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003914/5.951, allocations: 95.45 kB / 3.423 GB, free: 229.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.233/9.185, allocations: 0.9442 GB / 4.367 GB, free: 201.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.944e-06/9.185, allocations: 0 / 4.367 GB, free: 201.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0007846/9.186, allocations: 127.9 kB / 4.367 GB, free: 201.3 MB / 1.167 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.01667/9.202, allocations: 5.181 MB / 4.372 GB, free: 196.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/9.202, allocations: 12.03 kB / 4.372 GB, free: 196.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002428/9.205, allocations: 0.5266 MB / 4.373 GB, free: 195.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008788/9.214, allocations: 1.289 MB / 4.374 GB, free: 194.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01545/9.229, allocations: 5.574 MB / 4.379 GB, free: 188.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003097/9.23, allocations: 291.5 kB / 4.38 GB, free: 188.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001757/9.231, allocations: 375.9 kB / 4.38 GB, free: 188 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/9.246, allocations: 5.429 MB / 4.385 GB, free: 182.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001969/9.246, allocations: 15.84 kB / 4.385 GB, free: 182.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001258/9.248, allocations: 156 kB / 4.386 GB, free: 182.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001484/9.248, allocations: 183.2 kB / 4.386 GB, free: 182 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01245/9.26, allocations: 5.294 MB / 4.391 GB, free: 176.7 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.03757/9.298, allocations: 19.74 MB / 4.41 GB, free: 156.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008399/9.306, allocations: 3.627 MB / 4.414 GB, free: 152.7 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002039/9.309, allocations: 1.861 MB / 4.415 GB, free: 150.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004943/9.313, allocations: 2.077 MB / 4.418 GB, free: 148.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=268): time 6.602e-06/9.314, allocations: 4 kB / 4.418 GB, free: 148.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=268): time 0.01374/9.327, allocations: 5.16 MB / 4.423 GB, free: 143.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.925e-05/9.327, allocations: 287.1 kB / 4.423 GB, free: 142.7 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007529/9.335, allocations: 3.539 MB / 4.426 GB, free: 139.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0008645/9.336, allocations: 81.7 kB / 4.426 GB, free: 139.1 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.002424/9.338, allocations: 1.992 MB / 4.428 GB, free: 137.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001506/9.34, allocations: 0.9165 MB / 4.429 GB, free: 136.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006916/9.341, allocations: 56 kB / 4.429 GB, free: 136.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003264/9.341, allocations: 424 kB / 4.43 GB, free: 135.7 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003923/9.345, allocations: 1.563 MB / 4.431 GB, free: 134.1 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004327/9.349, allocations: 2.26 MB / 4.433 GB, free: 131.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004286/9.353, allocations: 1.901 MB / 4.435 GB, free: 129.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.95e-05/9.354, allocations: 8 kB / 4.435 GB, free: 129.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01111/9.365, allocations: 4.407 MB / 4.44 GB, free: 125.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001515/9.366, allocations: 7.457 MB / 4.447 GB, free: 117.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.471e-05/9.366, allocations: 16 kB / 4.447 GB, free: 117.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007342/9.367, allocations: 116.8 kB / 4.447 GB, free: 117 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004571/9.372, allocations: 0.8191 MB / 4.448 GB, free: 116.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002205/9.374, allocations: 2.175 MB / 4.45 GB, free: 113.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00581/9.38, allocations: 0.5352 MB / 4.45 GB, free: 113.3 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008978/9.381, allocations: 147.9 kB / 4.451 GB, free: 113.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/9.381, allocations: 8 kB / 4.451 GB, free: 113.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01108/9.392, allocations: 4.066 MB / 4.455 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/9.392, allocations: 20 kB / 4.455 GB, free: 109.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/9.392, allocations: 112.9 kB / 4.455 GB, free: 108.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/9.397, allocations: 0.8074 MB / 4.455 GB, free: 108.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001819/9.399, allocations: 1.582 MB / 4.457 GB, free: 106.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005164/9.404, allocations: 496.7 kB / 4.457 GB, free: 105.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006986/9.405, allocations: 147.9 kB / 4.458 GB, free: 105.8 MB / 1.167 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 () * Number of clocked 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.00402/9.409, allocations: 1.532 MB / 4.459 GB, free: 104.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001789/9.41, allocations: 395.2 kB / 4.459 GB, free: 103.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01228/9.423, allocations: 4.421 MB / 4.464 GB, free: 99.37 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-05/9.423, allocations: 31.95 kB / 4.464 GB, free: 99.34 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.498e-05/9.423, allocations: 4 kB / 4.464 GB, free: 99.34 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007999/9.431, allocations: 3.524 MB / 4.467 GB, free: 95.72 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.022/9.453, allocations: 9.099 MB / 4.476 GB, free: 86.48 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/9.453, allocations: 4 kB / 4.476 GB, free: 86.48 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/9.456, allocations: 0.6437 MB / 4.477 GB, free: 85.84 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005749/9.457, allocations: 96.72 kB / 4.477 GB, free: 85.74 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004421/9.457, allocations: 87.92 kB / 4.477 GB, free: 85.65 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/9.459, allocations: 2.174 MB / 4.479 GB, free: 83.32 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/9.459, allocations: 0 / 4.479 GB, free: 83.32 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01359/9.473, allocations: 6.153 MB / 4.485 GB, free: 77.06 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003413/9.476, allocations: 1.096 MB / 4.486 GB, free: 75.94 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001358/9.478, allocations: 59.98 kB / 4.486 GB, free: 75.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004593/9.482, allocations: 343.3 kB / 4.487 GB, free: 75.54 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004539/9.483, allocations: 185.9 kB / 4.487 GB, free: 75.36 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005148/9.483, allocations: 127.9 kB / 4.487 GB, free: 75.23 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00542/9.489, allocations: 2.798 MB / 4.49 GB, free: 72.46 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.91e-07/9.489, allocations: 0 / 4.49 GB, free: 72.46 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01034/9.499, allocations: 2.47 MB / 4.492 GB, free: 69.98 MB / 1.167 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) * Number of clocked states: 0 () * 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.0185/9.518, allocations: 8.478 MB / 4.5 GB, free: 61.59 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01478/9.533, allocations: 6.163 MB / 4.506 GB, free: 55.37 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/9.533, allocations: 5.516 kB / 4.506 GB, free: 55.37 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004825/9.538, allocations: 1.967 MB / 4.508 GB, free: 53.38 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/9.548, allocations: 2.048 MB / 4.51 GB, free: 51.38 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03379/9.582, allocations: 26.37 MB / 4.536 GB, free: 23.84 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004304/9.586, allocations: 3.144 MB / 4.539 GB, free: 20.66 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.009914/9.596, allocations: 2.077 MB / 4.541 GB, free: 18.58 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00484/9.601, allocations: 1.917 MB / 4.543 GB, free: 16.66 MB / 1.167 GB Notification: Performance of SimCode: time 1.443e-06/9.601, allocations: 0 / 4.543 GB, free: 16.66 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7898/10.39, allocations: 131.5 MB / 4.671 GB, free: 256.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/10.39, allocations: 253.3 kB / 4.672 GB, free: 256.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.11/16.5, allocations: 4 kB / 4.672 GB, free: 256.4 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Tubular_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_Examples_Tubular.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.Examples.Tubular_res.mat does not exist to compare? outputFormat=mat