Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.397/2.397, allocations: 390.3 MB / 402.8 MB, free: 6.637 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: 172.9 kB / 496.1 MB, free: 12.85 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.575/1.575, allocations: 221.3 MB / 0.7915 GB, free: 5.371 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.001152/0.001152, allocations: 98.5 kB / 0.9317 GB, free: 5.688 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.889e-05/3.909e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2947, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.312, allocations: 153.1 MB / 1.368 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.313, allocations: 87.19 kB / 1.368 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01333/1.326, allocations: 3.474 MB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.665e-06/1.326, allocations: 4 kB / 1.372 GB, free: 13.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.326, allocations: 0 / 1.372 GB, free: 13.83 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.0003768/1.326, allocations: 354.5 kB / 1.372 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/1.327, allocations: 12.03 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.642e-05/1.327, allocations: 105.8 kB / 1.372 GB, free: 13.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.246e-05/1.327, allocations: 80.06 kB / 1.372 GB, free: 13.24 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003059/1.327, allocations: 269.1 kB / 1.373 GB, free: 12.94 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.397e-05/1.327, allocations: 154.6 kB / 1.373 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/1.327, allocations: 154.6 kB / 1.373 GB, free: 12.64 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/1.327, allocations: 107.9 kB / 1.373 GB, free: 12.53 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.327, allocations: 75.28 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/1.327, allocations: 151.2 kB / 1.373 GB, free: 12.3 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-05/1.327, allocations: 154.6 kB / 1.373 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.775e-05/1.328, allocations: 152.5 kB / 1.374 GB, free: 12 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003497/1.328, allocations: 466.4 kB / 1.374 GB, free: 11.51 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.942e-05/1.328, allocations: 169.1 kB / 1.374 GB, free: 11.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.034e-05/1.328, allocations: 92.19 kB / 1.374 GB, free: 11.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/1.328, allocations: 75.28 kB / 1.374 GB, free: 11.16 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.798e-05/1.328, allocations: 108.5 kB / 1.374 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 2.655e-06/1.328, allocations: 3.984 kB / 1.374 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.079e-05/1.328, allocations: 33.61 kB / 1.374 GB, free: 11.01 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.328, allocations: 130.7 kB / 1.375 GB, free: 10.87 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.328, allocations: 120.5 kB / 1.375 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/1.328, allocations: 29.7 kB / 1.375 GB, free: 10.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/1.329, allocations: 91.3 kB / 1.375 GB, free: 10.63 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.627e-06/1.329, allocations: 4 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/1.329, allocations: 3.938 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.329, allocations: 322.7 kB / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.972e-05/1.329, allocations: 4 kB / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.083e-05/1.329, allocations: 0 / 1.375 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.391e-05/1.329, allocations: 7.875 kB / 1.375 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/1.329, allocations: 4.188 kB / 1.375 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/1.329, allocations: 52.12 kB / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/1.329, allocations: 7.938 kB / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.329, allocations: 0 / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.329, allocations: 0 / 1.375 GB, free: 10.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/1.329, allocations: 4 kB / 1.375 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.329, allocations: 0 / 1.375 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.1e-05/1.329, allocations: 3.906 kB / 1.375 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/1.329, allocations: 0 / 1.375 GB, free: 10.22 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 0.000103/1.329, allocations: 184.2 kB / 1.375 GB, free: 10.03 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.206e-05/1.329, allocations: 108.9 kB / 1.375 GB, free: 9.918 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.135e-05/1.329, allocations: 120 kB / 1.376 GB, free: 9.797 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-05/1.329, allocations: 180.2 kB / 1.376 GB, free: 9.613 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.418e-05/1.329, allocations: 176.3 kB / 1.376 GB, free: 9.434 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.651e-05/1.33, allocations: 176.3 kB / 1.376 GB, free: 9.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002834/1.33, allocations: 428.1 kB / 1.376 GB, free: 8.785 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.725e-05/1.33, allocations: 105 kB / 1.377 GB, free: 8.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/1.33, allocations: 108.9 kB / 1.377 GB, free: 8.562 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.846e-05/1.33, allocations: 176.3 kB / 1.377 GB, free: 8.383 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.903e-05/1.33, allocations: 180 kB / 1.377 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.557e-05/1.33, allocations: 180.2 kB / 1.377 GB, free: 8.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.279e-05/1.33, allocations: 188.2 kB / 1.377 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/1.33, allocations: 311 kB / 1.378 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.126e-05/1.331, allocations: 189.9 kB / 1.378 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.687e-05/1.331, allocations: 184.2 kB / 1.378 GB, free: 7.105 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/1.331, allocations: 105 kB / 1.378 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/1.331, allocations: 181.2 kB / 1.378 GB, free: 6.812 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.467e-05/1.331, allocations: 104.3 kB / 1.378 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.687e-05/1.331, allocations: 100.4 kB / 1.378 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.1e-07/1.331, allocations: 0 / 1.378 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003412/1.331, allocations: 43.5 kB / 1.379 GB, free: 6.574 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.0006775/1.332, allocations: 0.8822 MB / 1.379 GB, free: 5.668 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000101/1.332, allocations: 37.02 kB / 1.379 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.332, allocations: 4.062 kB / 1.379 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/1.332, allocations: 0 / 1.379 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004209/1.333, allocations: 0.5328 MB / 1.38 GB, free: 5.094 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004178/1.333, allocations: 205 kB / 1.38 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/1.333, allocations: 0.6887 MB / 1.381 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.319e-05/1.333, allocations: 4 kB / 1.381 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.969e-05/1.333, allocations: 10.38 kB / 1.381 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.333, allocations: 0 / 1.381 GB, free: 4.137 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/1.348, allocations: 2.381 MB / 1.383 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002107/1.348, allocations: 203.3 kB / 1.383 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/3.009, allocations: 0 / 1.383 GB, free: 1.73 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat does not exist to compare? outputFormat=mat