Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 99.55 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 222.1 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.958/1.958, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005734/0.0005735, allocations: 17.94 kB / 0.6737 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3319, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances): time 0.001881/0.3338, allocations: 1.163 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3353, allocations: 0.8119 MB / 0.7892 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.283e-05/0.3354, allocations: 4 kB / 0.7892 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002049/0.3356, allocations: 43.75 kB / 0.7892 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.736e-05/0.3357, allocations: 19.97 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005123/0.3362, allocations: 172.1 kB / 0.7894 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.929e-05/0.3363, allocations: 35.95 kB / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.3364, allocations: 0 / 0.7894 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.731e-05/0.3365, allocations: 31.84 kB / 0.7895 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.708e-05/0.3365, allocations: 7.938 kB / 0.7895 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.238e-05/0.3365, allocations: 4 kB / 0.7895 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003022/0.3368, allocations: 139.8 kB / 0.7896 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.3369, allocations: 7.938 kB / 0.7896 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.924e-05/0.3369, allocations: 33.7 kB / 0.7896 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3371, allocations: 80.09 kB / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.3371, allocations: 0 / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.116e-06/0.3371, allocations: 0 / 0.7897 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.3371, allocations: 0 / 0.7897 GB, free: 9.316 MB / 0.6075 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.0004654/0.3376, allocations: 367.1 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.3376, allocations: 8.031 kB / 0.7901 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.98e-05/0.3377, allocations: 105.8 kB / 0.7902 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.027e-05/0.3378, allocations: 83.19 kB / 0.7903 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.338, allocations: 278 kB / 0.7905 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.3381, allocations: 150.6 kB / 0.7907 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.079e-05/0.3382, allocations: 150.6 kB / 0.7908 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.431e-05/0.3383, allocations: 105 kB / 0.7909 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.375e-05/0.3383, allocations: 75.28 kB / 0.791 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.3384, allocations: 154.6 kB / 0.7911 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.401e-05/0.3385, allocations: 154.6 kB / 0.7913 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.378e-05/0.3386, allocations: 158.5 kB / 0.7914 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.339, allocations: 461.9 kB / 0.7919 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.3391, allocations: 173.1 kB / 0.792 GB, free: 6.773 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.511e-05/0.3391, allocations: 75.28 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.773e-05/0.3392, allocations: 113.8 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.3392, allocations: 0 / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.985e-05/0.3393, allocations: 33.64 kB / 0.7922 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.3394, allocations: 126.7 kB / 0.7924 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001653/0.3395, allocations: 136.6 kB / 0.7925 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.3396, allocations: 29.7 kB / 0.7925 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.385e-05/0.3396, allocations: 96.12 kB / 0.7926 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-06/0.3397, allocations: 3.938 kB / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-06/0.3397, allocations: 0 / 0.7926 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.3398, allocations: 318.8 kB / 0.7929 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.714e-05/0.3399, allocations: 4 kB / 0.7929 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.083e-05/0.3399, allocations: 7.984 kB / 0.7929 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.846e-05/0.3399, allocations: 4 kB / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3399, allocations: 0 / 0.7929 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001274/0.3401, allocations: 53.58 kB / 0.793 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.3401, allocations: 4 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.3401, allocations: 4 kB / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.3401, allocations: 0 / 0.793 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.655e-06/0.3401, allocations: 3.984 kB / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.3402, allocations: 0 / 0.793 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.296e-05/0.3402, allocations: 3.938 kB / 0.793 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.3402, allocations: 4 kB / 0.793 GB, free: 5.711 MB / 0.6075 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 0.000133/0.3403, allocations: 193.1 kB / 0.7932 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.949e-05/0.3404, allocations: 108.9 kB / 0.7933 GB, free: 5.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.833e-05/0.3405, allocations: 108.8 kB / 0.7934 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.15e-05/0.3406, allocations: 184.2 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.586e-05/0.3407, allocations: 180.3 kB / 0.7938 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-05/0.3408, allocations: 180.2 kB / 0.7939 GB, free: 4.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.341, allocations: 417.2 kB / 0.7943 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.715e-05/0.3411, allocations: 108.9 kB / 0.7944 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.966e-05/0.3412, allocations: 105.1 kB / 0.7945 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.981e-05/0.3412, allocations: 188.3 kB / 0.7947 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/0.3413, allocations: 180.2 kB / 0.7949 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.221e-05/0.3414, allocations: 176.3 kB / 0.795 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.633e-05/0.3415, allocations: 184.2 kB / 0.7952 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001854/0.3417, allocations: 315.8 kB / 0.7955 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.3418, allocations: 189.9 kB / 0.7957 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.342, allocations: 176.3 kB / 0.7959 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.3421, allocations: 116.9 kB / 0.796 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.627e-05/0.3422, allocations: 176.3 kB / 0.7962 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.74e-05/0.3422, allocations: 105 kB / 0.7963 GB, free: 2.164 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.728e-05/0.3423, allocations: 102.4 kB / 0.7963 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3423, allocations: 0 / 0.7963 GB, free: 2.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003978/0.3427, allocations: 35.98 kB / 0.7964 GB, free: 2.031 MB / 0.6075 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.0008443/0.3436, allocations: 0.8593 MB / 0.7972 GB, free: 1.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001174/0.3437, allocations: 37.7 kB / 0.7973 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.3437, allocations: 0 / 0.7973 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.836e-06/0.3438, allocations: 7.875 kB / 0.7973 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004687/0.3442, allocations: 0.5327 MB / 0.7978 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00067/0.3449, allocations: 438.2 kB / 0.7982 GB, free: 84 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.3452, allocations: 0.6964 MB / 0.7989 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.349e-05/0.3452, allocations: 3.984 kB / 0.7989 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.337e-05/0.3453, allocations: 19.44 kB / 0.7989 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of SimCode: time 6.81e-07/0.3453, allocations: 0 / 0.7989 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0134/0.3587, allocations: 2.401 MB / 0.8013 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002011/0.3589, allocations: 219.4 kB / 0.8015 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.299, allocations: 0 / 0.8015 GB, free: 12.87 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) Environment - environmentSimulation: