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.131/2.131, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.001166/0.001166, allocations: 184.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 221.3 MB / 0.7915 GB, free: 5.449 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.001007/0.001008, allocations: 87.95 kB / 0.9317 GB, free: 5.758 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/4.001e-05, allocations: 8 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2531, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.288/5.541, allocations: 2.2 GB / 3.419 GB, free: 86.39 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/5.541, allocations: 92.45 kB / 3.419 GB, free: 86.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.613/9.154, allocations: 0.9417 GB / 4.361 GB, free: 58.26 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.043e-06/9.154, allocations: 0 / 4.361 GB, free: 58.26 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.001253/9.156, allocations: 131.9 kB / 4.361 GB, free: 58.13 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.02189/9.178, allocations: 4.328 MB / 4.365 GB, free: 53.73 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/9.178, allocations: 12.03 kB / 4.365 GB, free: 53.72 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003308/9.181, allocations: 0.5188 MB / 4.365 GB, free: 53.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01385/9.195, allocations: 1.285 MB / 4.367 GB, free: 51.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02327/9.218, allocations: 5.547 MB / 4.372 GB, free: 46.29 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004651/9.219, allocations: 287.5 kB / 4.372 GB, free: 46.01 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002229/9.221, allocations: 383.8 kB / 4.373 GB, free: 45.63 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/9.239, allocations: 5.106 MB / 4.378 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001575/9.239, allocations: 7.938 kB / 4.378 GB, free: 40.36 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009092/9.24, allocations: 164 kB / 4.378 GB, free: 40.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002069/9.24, allocations: 175.3 kB / 4.378 GB, free: 40.02 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01427/9.254, allocations: 4.678 MB / 4.383 GB, free: 35.34 MB / 1.167 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.05818/9.313, allocations: 19.74 MB / 4.402 GB, free: 14.95 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008241/9.321, allocations: 3.25 MB / 4.405 GB, free: 11.71 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003791/9.325, allocations: 1.693 MB / 4.407 GB, free: 10.01 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002556/9.327, allocations: 1.872 MB / 4.409 GB, free: 7.746 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004671/9.332, allocations: 1.871 MB / 4.41 GB, free: 5.824 MB / 1.167 GB Notification: Performance of pre-optimization done (n=268): time 8.386e-06/9.332, allocations: 0 / 4.41 GB, free: 5.824 MB / 1.167 GB Notification: Performance of matching and sorting (n=268): time 0.00958/9.342, allocations: 3.175 MB / 4.413 GB, free: 2.594 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/9.342, allocations: 287.1 kB / 4.414 GB, free: 2.25 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.9705/10.31, allocations: 3.498 MB / 4.417 GB, free: 230.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.001221/10.31, allocations: 79.02 kB / 4.417 GB, free: 230.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003371/10.32, allocations: 1.984 MB / 4.419 GB, free: 230 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001982/10.32, allocations: 0.9131 MB / 4.42 GB, free: 229.5 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002636/10.32, allocations: 59.91 kB / 4.42 GB, free: 229.5 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0002858/10.32, allocations: 426.8 kB / 4.421 GB, free: 229.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/10.32, allocations: 1.348 MB / 4.422 GB, free: 229.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003717/10.33, allocations: 2.043 MB / 4.424 GB, free: 228.5 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003904/10.33, allocations: 1.698 MB / 4.425 GB, free: 228.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-05/10.33, allocations: 5.594 kB / 4.425 GB, free: 228.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=373) (initialization): time 0.01088/10.34, allocations: 3.979 MB / 4.429 GB, free: 228.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.002169/10.34, allocations: 7.448 MB / 4.437 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.823e-05/10.34, allocations: 20.81 kB / 4.437 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000859/10.34, allocations: 111.1 kB / 4.437 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005333/10.35, allocations: 0.8268 MB / 4.438 GB, free: 220.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/10.35, allocations: 2.16 MB / 4.44 GB, free: 218.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006437/10.36, allocations: 0.5285 MB / 4.44 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/10.36, allocations: 144.5 kB / 4.44 GB, free: 218.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/10.36, allocations: 7.172 kB / 4.44 GB, free: 218.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008736/10.37, allocations: 3.633 MB / 4.444 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.533e-05/10.37, allocations: 17.66 kB / 4.444 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005807/10.37, allocations: 114.3 kB / 4.444 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004473/10.37, allocations: 0.8096 MB / 4.445 GB, free: 218.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001981/10.38, allocations: 1.56 MB / 4.446 GB, free: 217 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005941/10.38, allocations: 497 kB / 4.447 GB, free: 216.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009021/10.38, allocations: 148.5 kB / 4.447 GB, free: 216.9 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 () * 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.00132/10.38, allocations: 289.2 kB / 4.447 GB, free: 216.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/10.39, allocations: 396.2 kB / 4.448 GB, free: 216.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01113/10.4, allocations: 3.995 MB / 4.452 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-05/10.4, allocations: 29.5 kB / 4.452 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.709e-05/10.4, allocations: 0.9688 kB / 4.452 GB, free: 216.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007047/10.4, allocations: 3.106 MB / 4.455 GB, free: 216 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02683/10.43, allocations: 8.675 MB / 4.463 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/10.43, allocations: 2.031 kB / 4.463 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003885/10.43, allocations: 0.6495 MB / 4.464 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000621/10.44, allocations: 90.12 kB / 4.464 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005019/10.44, allocations: 88.58 kB / 4.464 GB, free: 215.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/10.44, allocations: 2.164 MB / 4.466 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/10.44, allocations: 1.891 kB / 4.466 GB, free: 213.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01403/10.45, allocations: 5.518 MB / 4.471 GB, free: 212.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004465/10.46, allocations: 1.098 MB / 4.472 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001928/10.46, allocations: 59.64 kB / 4.472 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00543/10.46, allocations: 343.1 kB / 4.473 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006073/10.46, allocations: 176 kB / 4.473 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006268/10.47, allocations: 131.6 kB / 4.473 GB, free: 212.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.008748/10.47, allocations: 2.764 MB / 4.476 GB, free: 212.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 5.31e-07/10.47, allocations: 0 / 4.476 GB, free: 212.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01405/10.49, allocations: 2.471 MB / 4.478 GB, free: 212.3 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) * 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.01736/10.51, allocations: 7.813 MB / 4.486 GB, free: 210.9 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01307/10.52, allocations: 5.639 MB / 4.491 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.634e-05/10.52, allocations: 4.172 kB / 4.491 GB, free: 210.5 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00396/10.52, allocations: 1.765 MB / 4.493 GB, free: 210.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01279/10.54, allocations: 2.032 MB / 4.495 GB, free: 210.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02935/10.57, allocations: 9.227 MB / 4.504 GB, free: 208.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004493/10.57, allocations: 3.159 MB / 4.507 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.01462/10.58, allocations: 3.053 MB / 4.51 GB, free: 208 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005374/10.59, allocations: 1.837 MB / 4.512 GB, free: 208 MB / 1.167 GB Notification: Performance of SimCode: time 3.256e-06/10.59, allocations: 0 / 4.512 GB, free: 208 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/10.82, allocations: 140.1 MB / 4.649 GB, free: 183.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001634/10.82, allocations: 226.4 kB / 4.649 GB, free: 183.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.647/17.47, allocations: 0 / 4.649 GB, free: 183.1 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