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.119/2.119, allocations: 387.1 MB / 399.7 MB, free: 9.457 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.001145/0.001145, allocations: 176.3 kB / 492.3 MB, free: 0.6016 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.45/1.45, allocations: 221.3 MB / 0.7871 GB, free: 12.88 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.0008183/0.0008182, allocations: 83.34 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.874e-05/2.876e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2514, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.341/5.593, allocations: 2.2 GB / 3.412 GB, free: 76.53 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/5.593, allocations: 92.08 kB / 3.412 GB, free: 76.48 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 3.635/9.228, allocations: 0.9417 GB / 4.354 GB, free: 24.93 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.492e-06/9.228, allocations: 0 / 4.354 GB, free: 24.93 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0008177/9.229, allocations: 127.9 kB / 4.354 GB, free: 24.8 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.01429/9.243, allocations: 4.341 MB / 4.358 GB, free: 20.4 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/9.243, allocations: 8.031 kB / 4.358 GB, free: 20.39 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002429/9.245, allocations: 0.5226 MB / 4.359 GB, free: 19.86 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008917/9.254, allocations: 1.289 MB / 4.36 GB, free: 18.56 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01569/9.27, allocations: 5.547 MB / 4.366 GB, free: 12.95 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003327/9.271, allocations: 287.5 kB / 4.366 GB, free: 12.67 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00175/9.272, allocations: 376 kB / 4.366 GB, free: 12.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01285/9.285, allocations: 5.098 MB / 4.371 GB, free: 7.039 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00011/9.285, allocations: 15.84 kB / 4.371 GB, free: 7.023 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006144/9.286, allocations: 160 kB / 4.371 GB, free: 6.867 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000163/9.286, allocations: 171.3 kB / 4.371 GB, free: 6.699 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008366/9.295, allocations: 4.686 MB / 4.376 GB, free: 2.008 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.8852/10.18, allocations: 19.72 MB / 4.395 GB, free: 214.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006573/10.19, allocations: 3.263 MB / 4.398 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003038/10.19, allocations: 1.692 MB / 4.4 GB, free: 214.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002009/10.19, allocations: 1.864 MB / 4.402 GB, free: 212.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003829/10.2, allocations: 1.869 MB / 4.404 GB, free: 212.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=268): time 4.678e-06/10.2, allocations: 0 / 4.404 GB, free: 212.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=268): time 0.007729/10.2, allocations: 3.175 MB / 4.407 GB, free: 211.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/10.2, allocations: 288.3 kB / 4.407 GB, free: 211.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007753/10.21, allocations: 3.507 MB / 4.411 GB, free: 211.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/10.21, allocations: 83.89 kB / 4.411 GB, free: 211.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.002365/10.21, allocations: 1.985 MB / 4.413 GB, free: 210.7 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/10.22, allocations: 0.9058 MB / 4.413 GB, free: 210.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002282/10.22, allocations: 62.22 kB / 4.414 GB, free: 210.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0002051/10.22, allocations: 425.5 kB / 4.414 GB, free: 209.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/10.22, allocations: 1.351 MB / 4.415 GB, free: 209.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002403/10.22, allocations: 2.036 MB / 4.417 GB, free: 209.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/10.22, allocations: 1.704 MB / 4.419 GB, free: 209.1 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-05/10.22, allocations: 10.5 kB / 4.419 GB, free: 209.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.007338/10.23, allocations: 3.979 MB / 4.423 GB, free: 208.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001519/10.23, allocations: 7.45 MB / 4.43 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/10.23, allocations: 14.16 kB / 4.43 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006381/10.23, allocations: 122 kB / 4.43 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004183/10.24, allocations: 0.8161 MB / 4.431 GB, free: 201 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002117/10.24, allocations: 2.167 MB / 4.433 GB, free: 199.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005699/10.25, allocations: 0.5254 MB / 4.434 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007713/10.25, allocations: 141.2 kB / 4.434 GB, free: 199 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/10.25, allocations: 3.031 kB / 4.434 GB, free: 199 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006636/10.25, allocations: 3.633 MB / 4.437 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.134e-05/10.25, allocations: 17.84 kB / 4.437 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005236/10.25, allocations: 110.4 kB / 4.437 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003806/10.26, allocations: 0.812 MB / 4.438 GB, free: 198.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/10.26, allocations: 1.578 MB / 4.44 GB, free: 197.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005552/10.26, allocations: 494.7 kB / 4.44 GB, free: 197.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008116/10.27, allocations: 147.3 kB / 4.44 GB, free: 197.5 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.001467/10.27, allocations: 282.4 kB / 4.441 GB, free: 197.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002055/10.27, allocations: 392.2 kB / 4.441 GB, free: 197.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009996/10.28, allocations: 3.999 MB / 4.445 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-05/10.28, allocations: 30.81 kB / 4.445 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/10.28, allocations: 0.9688 kB / 4.445 GB, free: 197 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005768/10.28, allocations: 3.106 MB / 4.448 GB, free: 196.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02333/10.31, allocations: 8.67 MB / 4.456 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/10.31, allocations: 0 / 4.456 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003812/10.31, allocations: 0.647 MB / 4.457 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005914/10.31, allocations: 97 kB / 4.457 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006513/10.31, allocations: 91.41 kB / 4.457 GB, free: 196 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/10.32, allocations: 2.145 MB / 4.459 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/10.32, allocations: 2.531 kB / 4.459 GB, free: 194.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01183/10.33, allocations: 5.527 MB / 4.465 GB, free: 193.5 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003722/10.33, allocations: 1.093 MB / 4.466 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001575/10.33, allocations: 60.02 kB / 4.466 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004971/10.34, allocations: 342.7 kB / 4.466 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/10.34, allocations: 176.9 kB / 4.466 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005296/10.34, allocations: 132.4 kB / 4.467 GB, free: 193.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.005949/10.34, allocations: 2.759 MB / 4.469 GB, free: 193.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.41e-07/10.34, allocations: 3.344 kB / 4.469 GB, free: 193.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.01142/10.36, allocations: 2.482 MB / 4.472 GB, free: 192.9 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.01615/10.37, allocations: 7.805 MB / 4.479 GB, free: 191.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01123/10.38, allocations: 5.643 MB / 4.485 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/10.38, allocations: 5.047 kB / 4.485 GB, free: 191.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.003458/10.39, allocations: 1.759 MB / 4.487 GB, free: 191.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0117/10.4, allocations: 2.046 MB / 4.488 GB, free: 191 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02593/10.42, allocations: 9.221 MB / 4.498 GB, free: 189.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002428/10.43, allocations: 3.149 MB / 4.501 GB, free: 188.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.01071/10.44, allocations: 3.051 MB / 4.504 GB, free: 188.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003525/10.44, allocations: 1.844 MB / 4.505 GB, free: 188.6 MB / 1.151 GB Notification: Performance of SimCode: time 7.31e-07/10.44, allocations: 0 / 4.505 GB, free: 188.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2085/10.65, allocations: 140.1 MB / 4.642 GB, free: 144.7 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001607/10.65, allocations: 229.3 kB / 4.642 GB, free: 144.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.626/17.28, allocations: 0 / 4.642 GB, free: 144.5 MB / 1.151 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