Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 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.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.008415/0.008415, allocations: 101.8 kB / 15.73 MB, free: 6.012 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.002018/0.002018, allocations: 189.9 kB / 16.67 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.711/2.711, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 63.91 kB / 1.054 GB, free: 7.586 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 157.4 MB / 1.207 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002612/0.3043, allocations: 1.42 MB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004166/0.3085, allocations: 2.868 MB / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.087e-05/0.3086, allocations: 0 / 1.212 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.3086, allocations: 3.938 kB / 1.212 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.3087, allocations: 15.86 kB / 1.212 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.3128, allocations: 1.557 MB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.3129, allocations: 43.73 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.122e-05/0.3129, allocations: 4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 3.399e-05/0.313, allocations: 19.92 kB / 1.213 GB, free: 4.129 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.956e-05/0.313, allocations: 19.86 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.313, allocations: 4 kB / 1.213 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002228/0.3153, allocations: 1.482 MB / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.224e-05/0.3153, allocations: 0 / 1.215 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.3153, allocations: 15.88 kB / 1.215 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001731/0.3171, allocations: 1.088 MB / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3171, allocations: 0 / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3171, allocations: 0 / 1.216 GB, free: 1.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.3171, allocations: 7.984 kB / 1.216 GB, free: 1.508 MB / 0.9669 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.0006645/0.3178, allocations: 0.5145 MB / 1.216 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3178, allocations: 12.62 kB / 1.216 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.665e-05/0.3179, allocations: 106 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.219e-05/0.3179, allocations: 80.12 kB / 1.216 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3181, allocations: 249.1 kB / 1.217 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.3181, allocations: 150.9 kB / 1.217 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.85e-05/0.3182, allocations: 166.9 kB / 1.217 GB, free: 152 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.754e-05/0.3183, allocations: 104.9 kB / 1.217 GB, free: 40 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.414e-05/0.3183, allocations: 75.28 kB / 1.217 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.366e-05/0.3184, allocations: 154.5 kB / 1.217 GB, free: 15.81 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.3184, allocations: 150.6 kB / 1.217 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.195e-05/0.3185, allocations: 158.6 kB / 1.218 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.3187, allocations: 461.9 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.161e-05/0.3188, allocations: 169.1 kB / 1.218 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.025e-05/0.3189, allocations: 92.08 kB / 1.218 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.054e-05/0.3189, allocations: 83.22 kB / 1.218 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.3189, allocations: 105.8 kB / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/0.3189, allocations: 0 / 1.218 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.713e-05/0.319, allocations: 37.55 kB / 1.218 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3191, allocations: 126.7 kB / 1.219 GB, free: 14.36 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.3192, allocations: 127.2 kB / 1.219 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3192, allocations: 29.7 kB / 1.219 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.071e-05/0.3193, allocations: 100.1 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.3193, allocations: 0 / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.361e-05/0.3193, allocations: 17.72 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.3194, allocations: 314.8 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.212e-05/0.3194, allocations: 4 kB / 1.219 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.721e-05/0.3195, allocations: 8 kB / 1.219 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.606e-05/0.3195, allocations: 8.859 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3195, allocations: 4 kB / 1.219 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001411/0.3197, allocations: 61.47 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.3197, allocations: 8.062 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.884e-05/0.3197, allocations: 4 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.3197, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.61e-07/0.3197, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.3197, allocations: 0 / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.3198, allocations: 3.938 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.3198, allocations: 0 / 1.219 GB, free: 13.64 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.526e-05/0.3199, allocations: 185.1 kB / 1.219 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.608e-05/0.3199, allocations: 116.8 kB / 1.22 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.32, allocations: 116.8 kB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.858e-05/0.32, allocations: 180.2 kB / 1.22 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.646e-05/0.3201, allocations: 180.3 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/0.3202, allocations: 180.2 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001982/0.3204, allocations: 421.1 kB / 1.221 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-05/0.3204, allocations: 108.9 kB / 1.221 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.102e-05/0.3204, allocations: 101 kB / 1.221 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.652e-05/0.3205, allocations: 180.2 kB / 1.221 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.381e-05/0.3205, allocations: 176.3 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.329e-05/0.3206, allocations: 188.3 kB / 1.221 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.713e-05/0.3207, allocations: 192.1 kB / 1.221 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.3208, allocations: 307.6 kB / 1.222 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.361e-05/0.3208, allocations: 190 kB / 1.222 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.3209, allocations: 180.3 kB / 1.222 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.887e-05/0.321, allocations: 104.9 kB / 1.222 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.321, allocations: 180.3 kB / 1.222 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.823e-05/0.3211, allocations: 108.9 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.698e-05/0.3211, allocations: 100.7 kB / 1.223 GB, free: 10 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3211, allocations: 0 / 1.223 GB, free: 10 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000728/0.3219, allocations: 275.8 kB / 1.223 GB, free: 9.73 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/0.3233, allocations: 1.162 MB / 1.224 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001076/0.3234, allocations: 41.64 kB / 1.224 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3234, allocations: 0 / 1.224 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.756e-06/0.3234, allocations: 0 / 1.224 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004056/0.3238, allocations: 472.2 kB / 1.224 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00139/0.3252, allocations: 1.574 MB / 1.226 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.3255, allocations: 0.6807 MB / 1.227 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.752e-05/0.3255, allocations: 0 / 1.227 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.3255, allocations: 23.47 kB / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of SimCode: time 1.483e-06/0.3255, allocations: 0 / 1.227 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3503, allocations: 6.919 MB / 1.233 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.509/7.859, allocations: 11.02 kB / 1.233 GB, free: 14.94 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)