Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.691/2.691, allocations: 287.5 MB / 302.4 MB, free: 8.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 178.5 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.209/2.209, allocations: 205.4 MB / 0.6297 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001014/0.001013, allocations: 89.47 kB / 0.743 GB, free: 6.547 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 20.56 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2483, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.00178/0.2502, allocations: 1.185 MB / 0.9796 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.2518, allocations: 0.8633 MB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.2519, allocations: 8 kB / 0.9805 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002128/0.2521, allocations: 43.77 kB / 0.9805 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.2522, allocations: 15.91 kB / 0.9805 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006658/0.2529, allocations: 167 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.486e-05/0.253, allocations: 47.67 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.253, allocations: 4 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.078e-05/0.2531, allocations: 11.94 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.575e-05/0.2532, allocations: 19.92 kB / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.2532, allocations: 0 / 0.9808 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.2536, allocations: 143.8 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.2536, allocations: 4 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.2537, allocations: 33.64 kB / 0.9809 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.2539, allocations: 84.08 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2539, allocations: 4 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2539, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.2539, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 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.0003283/0.2542, allocations: 359.1 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.2543, allocations: 8.031 kB / 0.9814 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.433e-05/0.2543, allocations: 105.8 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.934e-05/0.2544, allocations: 87.14 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.2546, allocations: 258.2 kB / 0.9818 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.531e-05/0.2546, allocations: 162.5 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.197e-05/0.2547, allocations: 150.6 kB / 0.9821 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.929e-05/0.2547, allocations: 108.9 kB / 0.9822 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.704e-05/0.2547, allocations: 75.28 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.703e-05/0.2548, allocations: 150.6 kB / 0.9824 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.479e-05/0.2548, allocations: 154.6 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.736e-05/0.2549, allocations: 150.6 kB / 0.9827 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002392/0.2551, allocations: 465.9 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.2552, allocations: 173 kB / 0.9833 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.352e-05/0.2552, allocations: 88.14 kB / 0.9834 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2552, allocations: 75.28 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.2553, allocations: 109.8 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.683e-06/0.2553, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 8.314e-05/0.2554, allocations: 29.69 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2554, allocations: 134.6 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.2556, allocations: 136.4 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.2556, allocations: 29.7 kB / 0.9839 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.2556, allocations: 92.08 kB / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-06/0.2557, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.327e-06/0.2557, allocations: 0 / 0.984 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.2557, allocations: 322.8 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.616e-05/0.2558, allocations: 4 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.2558, allocations: 4 kB / 0.9843 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.283e-05/0.2559, allocations: 4 kB / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2559, allocations: 0 / 0.9843 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001367/0.256, allocations: 53.62 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.256, allocations: 8 kB / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.2561, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2561, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.483e-06/0.2561, allocations: 0 / 0.9844 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2561, allocations: 4 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.746e-05/0.2562, allocations: 3.938 kB / 0.9844 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.2562, allocations: 0 / 0.9844 GB, free: 21.94 MB / 0.6198 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 () * Number of clocked 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 7.945e-05/0.2563, allocations: 197 kB / 0.9846 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.172e-05/0.2563, allocations: 116.9 kB / 0.9847 GB, free: 21.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.443e-05/0.2564, allocations: 108.9 kB / 0.9848 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-05/0.2564, allocations: 180.2 kB / 0.985 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.37e-05/0.2565, allocations: 176.3 kB / 0.9851 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-05/0.2565, allocations: 184.2 kB / 0.9853 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2567, allocations: 421.1 kB / 0.9857 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.068e-05/0.2567, allocations: 101 kB / 0.9858 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.11e-05/0.2568, allocations: 108.9 kB / 0.9859 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.371e-05/0.2568, allocations: 176.3 kB / 0.9861 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.2568, allocations: 184.2 kB / 0.9862 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.368e-05/0.2569, allocations: 184.4 kB / 0.9864 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.688e-05/0.2569, allocations: 188.3 kB / 0.9866 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.944e-05/0.257, allocations: 307.7 kB / 0.9869 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.302e-05/0.2571, allocations: 193.9 kB / 0.9871 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.221e-05/0.2572, allocations: 180.3 kB / 0.9872 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.911e-05/0.2573, allocations: 109 kB / 0.9874 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.2573, allocations: 180.2 kB / 0.9875 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.2573, allocations: 109 kB / 0.9876 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.2574, allocations: 101.1 kB / 0.9877 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2574, allocations: 0 / 0.9877 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004781/0.2579, allocations: 28 kB / 0.9878 GB, free: 18.26 MB / 0.6198 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 () * Number of clocked 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.0006402/0.2586, allocations: 0.8709 MB / 0.9886 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2587, allocations: 41.69 kB / 0.9886 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.2587, allocations: 0 / 0.9886 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.526e-06/0.2587, allocations: 0 / 0.9886 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004551/0.2592, allocations: 0.5264 MB / 0.9892 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009394/0.2602, allocations: 0.5587 MB / 0.9897 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/0.2603, allocations: 0.6809 MB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.823e-05/0.2604, allocations: 0 / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.557e-05/0.2604, allocations: 19.42 kB / 0.9904 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of SimCode: time 2.184e-06/0.2604, allocations: 0 / 0.9904 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/0.282, allocations: 2.47 MB / 0.9928 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002664/0.2823, allocations: 226.5 kB / 0.993 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.579/2.862, allocations: 0 / 0.993 GB, free: 12.96 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)