Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",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.301/2.301, allocations: 387.1 MB / 399.7 MB, free: 9.465 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.001164/0.001164, allocations: 176.9 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.647/1.647, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.000902/0.0009021, allocations: 100.4 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.319e-05/3.326e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2967, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9314/1.228, allocations: 152.2 MB / 1.361 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/1.228, allocations: 93.38 kB / 1.361 GB, free: 18.92 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01322/1.242, allocations: 3.479 MB / 1.365 GB, free: 34.38 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.483e-06/1.242, allocations: 4 kB / 1.365 GB, free: 34.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.484e-06/1.242, allocations: 0 / 1.365 GB, free: 34.37 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002782/1.242, allocations: 360 kB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.242, allocations: 11.5 kB / 1.365 GB, free: 34 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.397e-05/1.242, allocations: 105.8 kB / 1.365 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.94e-05/1.242, allocations: 79.19 kB / 1.365 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001837/1.242, allocations: 270.2 kB / 1.365 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.242, allocations: 154.6 kB / 1.366 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.18e-05/1.242, allocations: 153.1 kB / 1.366 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.513e-05/1.243, allocations: 104.9 kB / 1.366 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.364e-05/1.243, allocations: 75.28 kB / 1.366 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/1.243, allocations: 150.6 kB / 1.366 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.291e-05/1.243, allocations: 162.1 kB / 1.366 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.288e-05/1.243, allocations: 152.1 kB / 1.366 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002478/1.243, allocations: 465.5 kB / 1.367 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.38e-05/1.243, allocations: 169.1 kB / 1.367 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.783e-05/1.243, allocations: 88.19 kB / 1.367 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.671e-05/1.243, allocations: 79.28 kB / 1.367 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.243, allocations: 109 kB / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.243, allocations: 0 / 1.367 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 7.145e-05/1.243, allocations: 37.56 kB / 1.367 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/1.243, allocations: 126.7 kB / 1.367 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.872e-05/1.243, allocations: 129.4 kB / 1.368 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/1.243, allocations: 25.7 kB / 1.368 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.866e-05/1.243, allocations: 97.53 kB / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/1.244, allocations: 0 / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-06/1.244, allocations: 0 / 1.368 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.372e-05/1.244, allocations: 318.9 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/1.244, allocations: 7.656 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.004e-05/1.244, allocations: 0 / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.313e-05/1.244, allocations: 7.734 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.244, allocations: 4.031 kB / 1.368 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/1.244, allocations: 50.14 kB / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/1.244, allocations: 3.75 kB / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.244, allocations: 3.875 kB / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.244, allocations: 0 / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.162e-06/1.244, allocations: 0 / 1.368 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/1.244, allocations: 3.938 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.177e-05/1.244, allocations: 3.906 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/1.244, allocations: 0 / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.834e-05/1.244, allocations: 195 kB / 1.368 GB, free: 30.72 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.741e-05/1.244, allocations: 101 kB / 1.368 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/1.244, allocations: 116.2 kB / 1.368 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.374e-05/1.244, allocations: 186.9 kB / 1.369 GB, free: 30.31 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.868e-05/1.244, allocations: 180.2 kB / 1.369 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.53e-05/1.244, allocations: 176.3 kB / 1.369 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/1.244, allocations: 418.1 kB / 1.369 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.245, allocations: 107.9 kB / 1.369 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.652e-05/1.245, allocations: 107.5 kB / 1.37 GB, free: 29.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.129e-05/1.245, allocations: 176.3 kB / 1.37 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.227e-05/1.245, allocations: 184 kB / 1.37 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.043e-05/1.245, allocations: 176.3 kB / 1.37 GB, free: 28.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.723e-05/1.245, allocations: 186.6 kB / 1.37 GB, free: 28.55 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/1.245, allocations: 307.5 kB / 1.371 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.149e-05/1.245, allocations: 199.6 kB / 1.371 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.6e-05/1.245, allocations: 176.3 kB / 1.371 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.601e-05/1.245, allocations: 108.8 kB / 1.371 GB, free: 27.73 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.803e-05/1.245, allocations: 184.1 kB / 1.371 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/1.245, allocations: 101 kB / 1.371 GB, free: 27.45 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.802e-05/1.245, allocations: 103.5 kB / 1.371 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.245, allocations: 0 / 1.371 GB, free: 27.37 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000335/1.246, allocations: 38.94 kB / 1.371 GB, free: 27.36 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006062/1.246, allocations: 0.8896 MB / 1.372 GB, free: 26.53 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.741e-05/1.246, allocations: 29.55 kB / 1.372 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.246, allocations: 4.062 kB / 1.372 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.906e-06/1.246, allocations: 3.875 kB / 1.372 GB, free: 26.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/1.247, allocations: 0.5315 MB / 1.373 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/1.247, allocations: 198.5 kB / 1.373 GB, free: 25.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002576/1.247, allocations: 0.6887 MB / 1.374 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.146e-05/1.247, allocations: 7.344 kB / 1.374 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.483e-05/1.247, allocations: 14 kB / 1.374 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.247, allocations: 0 / 1.374 GB, free: 25.06 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01481/1.262, allocations: 2.36 MB / 1.376 GB, free: 24.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001778/1.263, allocations: 195.2 kB / 1.376 GB, free: 24.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.932, allocations: 1.562 kB / 1.376 GB, free: 24.64 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat does not exist to compare? outputFormat=mat