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.393/2.393, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001199/0.001199, allocations: 191.2 kB / 0.4901 GB, free: 2.266 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.612/1.612, allocations: 223.1 MB / 0.7992 GB, free: 15.61 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.00113/0.00113, allocations: 108 kB / 0.9396 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003848, allocations: 8.688 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3681, allocations: 143 MB / 1.229 GB, free: 85.37 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.338/6.706, allocations: 2.2 GB / 3.429 GB, free: 167.5 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/6.707, allocations: 94.08 kB / 3.429 GB, free: 167.4 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.237/9.943, allocations: 0.9443 GB / 4.374 GB, free: 140.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.474e-06/9.943, allocations: 0 / 4.374 GB, free: 140.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0009046/9.944, allocations: 139.8 kB / 4.374 GB, free: 140.5 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.01937/9.964, allocations: 5.169 MB / 4.379 GB, free: 135.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/9.964, allocations: 8.828 kB / 4.379 GB, free: 135.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002882/9.967, allocations: 0.5305 MB / 4.379 GB, free: 134.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009514/9.976, allocations: 1.301 MB / 4.381 GB, free: 133.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02173/9.998, allocations: 5.578 MB / 4.386 GB, free: 127.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004933/9.999, allocations: 283.5 kB / 4.386 GB, free: 127.4 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002526/10, allocations: 383.9 kB / 4.387 GB, free: 127.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01771/10.02, allocations: 5.417 MB / 4.392 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002466/10.02, allocations: 15.83 kB / 4.392 GB, free: 121.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00161/10.02, allocations: 168 kB / 4.392 GB, free: 121.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001735/10.02, allocations: 175.3 kB / 4.392 GB, free: 121.1 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01393/10.03, allocations: 5.294 MB / 4.397 GB, free: 115.8 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.0418/10.08, allocations: 19.72 MB / 4.417 GB, free: 95.47 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008286/10.09, allocations: 3.626 MB / 4.42 GB, free: 91.85 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/10.09, allocations: 1.864 MB / 4.422 GB, free: 89.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00521/10.09, allocations: 2.081 MB / 4.424 GB, free: 87.46 MB / 1.167 GB Notification: Performance of pre-optimization done (n=268): time 8.526e-06/10.09, allocations: 0 / 4.424 GB, free: 87.46 MB / 1.167 GB Notification: Performance of matching and sorting (n=268): time 0.01474/10.11, allocations: 5.163 MB / 4.429 GB, free: 82.22 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/10.11, allocations: 295.1 kB / 4.429 GB, free: 81.87 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008365/10.12, allocations: 3.547 MB / 4.433 GB, free: 78.34 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/10.12, allocations: 73.7 kB / 4.433 GB, free: 78.27 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00267/10.12, allocations: 1.988 MB / 4.435 GB, free: 76.26 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001715/10.12, allocations: 0.9088 MB / 4.436 GB, free: 75.34 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/10.12, allocations: 60 kB / 4.436 GB, free: 75.28 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0003226/10.12, allocations: 424 kB / 4.436 GB, free: 74.86 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004117/10.13, allocations: 1.563 MB / 4.438 GB, free: 73.29 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004546/10.13, allocations: 2.257 MB / 4.44 GB, free: 70.75 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004352/10.14, allocations: 1.913 MB / 4.442 GB, free: 68.82 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.387e-05/10.14, allocations: 4 kB / 4.442 GB, free: 68.82 MB / 1.167 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01217/10.15, allocations: 4.41 MB / 4.446 GB, free: 64.36 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001735/10.15, allocations: 7.454 MB / 4.453 GB, free: 56.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.401e-05/10.15, allocations: 16 kB / 4.453 GB, free: 56.29 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007083/10.15, allocations: 112.8 kB / 4.454 GB, free: 56.18 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00476/10.15, allocations: 0.823 MB / 4.454 GB, free: 55.35 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002263/10.16, allocations: 2.182 MB / 4.456 GB, free: 53.01 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006177/10.16, allocations: 0.5236 MB / 4.457 GB, free: 52.48 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00109/10.16, allocations: 147.9 kB / 4.457 GB, free: 52.34 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/10.16, allocations: 7.938 kB / 4.457 GB, free: 52.33 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01186/10.18, allocations: 4.061 MB / 4.461 GB, free: 48.23 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.027e-05/10.18, allocations: 16 kB / 4.461 GB, free: 48.21 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/10.18, allocations: 117.5 kB / 4.461 GB, free: 48.09 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00442/10.18, allocations: 0.8034 MB / 4.462 GB, free: 47.29 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001848/10.18, allocations: 1.594 MB / 4.464 GB, free: 45.55 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005776/10.19, allocations: 0.489 MB / 4.464 GB, free: 45.06 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/10.19, allocations: 147.9 kB / 4.464 GB, free: 44.92 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.004907/10.2, allocations: 1.528 MB / 4.466 GB, free: 43.38 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002032/10.2, allocations: 391.2 kB / 4.466 GB, free: 42.99 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/10.21, allocations: 4.417 MB / 4.47 GB, free: 38.52 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/10.21, allocations: 31.98 kB / 4.47 GB, free: 38.49 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/10.21, allocations: 0 / 4.47 GB, free: 38.49 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008569/10.22, allocations: 3.532 MB / 4.474 GB, free: 34.87 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02559/10.25, allocations: 9.102 MB / 4.483 GB, free: 25.62 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.692e-05/10.25, allocations: 4.047 kB / 4.483 GB, free: 25.62 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003933/10.25, allocations: 0.6474 MB / 4.483 GB, free: 24.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005784/10.25, allocations: 92.77 kB / 4.483 GB, free: 24.88 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007126/10.25, allocations: 91.91 kB / 4.484 GB, free: 24.79 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001933/10.25, allocations: 2.17 MB / 4.486 GB, free: 22.46 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/10.25, allocations: 8.188 kB / 4.486 GB, free: 22.45 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01548/10.27, allocations: 6.149 MB / 4.492 GB, free: 16.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004331/10.27, allocations: 1.096 MB / 4.493 GB, free: 15.07 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/10.27, allocations: 59.98 kB / 4.493 GB, free: 15.02 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005278/10.28, allocations: 339.3 kB / 4.493 GB, free: 14.68 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006892/10.28, allocations: 178.3 kB / 4.493 GB, free: 14.51 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007299/10.28, allocations: 127.9 kB / 4.493 GB, free: 14.38 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.006912/10.29, allocations: 2.802 MB / 4.496 GB, free: 11.6 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.062e-06/10.29, allocations: 8 kB / 4.496 GB, free: 11.59 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01257/10.3, allocations: 2.47 MB / 4.499 GB, free: 9.117 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.02071/10.32, allocations: 8.465 MB / 4.507 GB, free: 0.7305 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.6425/10.96, allocations: 6.159 MB / 4.513 GB, free: 239.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-05/10.96, allocations: 8.578 kB / 4.513 GB, free: 239.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004999/10.97, allocations: 1.973 MB / 4.515 GB, free: 239.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01115/10.98, allocations: 2.044 MB / 4.517 GB, free: 239.5 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03285/11.01, allocations: 26.37 MB / 4.543 GB, free: 221.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004266/11.02, allocations: 3.15 MB / 4.546 GB, free: 220.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.00955/11.03, allocations: 2.079 MB / 4.548 GB, free: 220.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004262/11.03, allocations: 1.916 MB / 4.55 GB, free: 220.4 MB / 1.167 GB Notification: Performance of SimCode: time 8.075e-06/11.03, allocations: 0 / 4.55 GB, free: 220.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1966/11.23, allocations: 131.6 MB / 4.678 GB, free: 214 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001568/11.23, allocations: 262.1 kB / 4.678 GB, free: 213.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.433/17.66, allocations: 0 / 4.678 GB, free: 213.7 MB / 1.167 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