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.ConvectionResistanceCircularPipe.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.001486/0.001487, allocations: 99.16 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.00193/0.00193, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.49/2.49, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.761/4.761, allocations: 409.2 MB / 0.6838 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0008951/0.0008951, allocations: 8 kB / 0.8376 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591/1.592, allocations: 146.8 MB / 0.9809 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00264/1.595, allocations: 1.061 MB / 0.982 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002662/1.597, allocations: 0.9833 MB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.337e-05/1.598, allocations: 8 kB / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.767e-05/1.598, allocations: 0 / 0.9829 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.041e-05/1.598, allocations: 7.984 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007976/1.599, allocations: 147.5 kB / 0.9831 GB, free: 4.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000107/1.599, allocations: 15.97 kB / 0.9831 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.719e-05/1.599, allocations: 8 kB / 0.9831 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/1.599, allocations: 19.86 kB / 0.9831 GB, free: 4.008 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.307e-05/1.599, allocations: 11.98 kB / 0.9831 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/1.599, allocations: 4 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008934/1.6, allocations: 403.4 kB / 0.9835 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.802e-05/1.6, allocations: 3.984 kB / 0.9835 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002273/1.6, allocations: 25.7 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003836/1.601, allocations: 142 kB / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.601, allocations: 0 / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.649e-06/1.601, allocations: 0 / 0.9837 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.727e-06/1.601, allocations: 4 kB / 0.9837 GB, free: 3.422 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008331/1.601, allocations: 375.2 kB / 0.984 GB, free: 3.008 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.991e-05/1.602, allocations: 15.92 kB / 0.9841 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.405e-05/1.602, allocations: 38.56 kB / 0.9841 GB, free: 2.945 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.206e-05/1.602, allocations: 3.906 kB / 0.9841 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/1.602, allocations: 175 kB / 0.9843 GB, free: 2.73 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.897e-05/1.602, allocations: 3.984 kB / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/1.602, allocations: 0 / 0.9843 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001703/1.602, allocations: 45.64 kB / 0.9843 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/1.602, allocations: 4 kB / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/1.602, allocations: 0 / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/1.602, allocations: 0 / 0.9843 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.028e-05/1.602, allocations: 8 kB / 0.9843 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002991/1.603, allocations: 169.6 kB / 0.9845 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/1.603, allocations: 38.55 kB / 0.9845 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/1.604, allocations: 0.9857 MB / 0.9855 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.604, allocations: 30.56 kB / 0.9855 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.312e-06/1.604, allocations: 4 kB / 0.9855 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0002914/1.605, allocations: 61.55 kB / 0.9856 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/1.605, allocations: 63.33 kB / 0.9856 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/1.605, allocations: 97.86 kB / 0.9857 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/1.605, allocations: 29.7 kB / 0.9858 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/1.605, allocations: 88.12 kB / 0.9858 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.61e-05/1.605, allocations: 11.81 kB / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.605, allocations: 0 / 0.9859 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002012/1.605, allocations: 310.8 kB / 0.9862 GB, free: 468 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.978e-05/1.605, allocations: 12 kB / 0.9862 GB, free: 456 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.327e-05/1.605, allocations: 7.984 kB / 0.9862 GB, free: 448 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.773e-05/1.605, allocations: 8 kB / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/1.605, allocations: 0 / 0.9862 GB, free: 440 kB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001267/1.606, allocations: 49.69 kB / 0.9862 GB, free: 384 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/1.606, allocations: 4 kB / 0.9862 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/1.606, allocations: 0 / 0.9862 GB, free: 380 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.606, allocations: 3.938 kB / 0.9862 GB, free: 376 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/1.606, allocations: 23.89 kB / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/1.606, allocations: 0 / 0.9863 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/1.606, allocations: 7.984 kB / 0.9863 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/1.606, allocations: 7.938 kB / 0.9863 GB, free: 336 kB / 0.7325 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 0.0001489/1.606, allocations: 105.8 kB / 0.9864 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/1.606, allocations: 7.906 kB / 0.9864 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002191/1.606, allocations: 59.89 kB / 0.9864 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.606, allocations: 0 / 0.9864 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/1.606, allocations: 4 kB / 0.9864 GB, free: 140 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/1.606, allocations: 3.984 kB / 0.9864 GB, free: 136 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/1.607, allocations: 169.6 kB / 0.9866 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/1.607, allocations: 0 / 0.9866 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.607, allocations: 19.94 kB / 0.9866 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/1.607, allocations: 0 / 0.9866 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.594e-05/1.607, allocations: 4 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.607, allocations: 3.984 kB / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/1.607, allocations: 0 / 0.9866 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/1.607, allocations: 73.08 kB / 0.9867 GB, free: 15.8 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.583e-05/1.607, allocations: 92.95 kB / 0.9868 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.371e-05/1.607, allocations: 4 kB / 0.9868 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.081e-05/1.607, allocations: 0 / 0.9868 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.572e-05/1.607, allocations: 4 kB / 0.9868 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/1.607, allocations: 0 / 0.9868 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.19e-05/1.607, allocations: 83.27 kB / 0.9869 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.607, allocations: 0 / 0.9869 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000389/1.608, allocations: 43.95 kB / 0.9869 GB, free: 15.56 MB / 0.7481 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 (4): * Single equations (assignments): 4 * 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.000912/1.609, allocations: 0.667 MB / 0.9876 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000153/1.609, allocations: 23.98 kB / 0.9876 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/1.609, allocations: 0 / 0.9876 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 4.697e-05/1.609, allocations: 11.94 kB / 0.9876 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/1.609, allocations: 7.984 kB / 0.9876 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/1.61, allocations: 212.1 kB / 0.9878 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005833/1.611, allocations: 0.6887 MB / 0.9885 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.083e-05/1.611, allocations: 4 kB / 0.9885 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.404e-05/1.611, allocations: 11.44 kB / 0.9885 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of SimCode: time 3.146e-06/1.611, allocations: 4 kB / 0.9885 GB, free: 13.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02203/1.633, allocations: 1.936 MB / 0.9904 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004254/1.633, allocations: 274.6 kB / 0.9907 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.142/4.775, allocations: 0.6562 kB / 0.9907 GB, free: 11.79 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat does not exist to compare? outputFormat=mat