Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_IDEAS_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/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7668/0.7668, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 221.3 MB / 400.4 MB, free: 5.82 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000936/0.000936, allocations: 89.83 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.155e-05/4.189e-05, allocations: 8.422 kB / 0.5602 GB, free: 87.77 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 82.3 MB / 0.6406 GB, free: 7.664 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5681/0.7198, allocations: 115.7 MB / 0.7535 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/0.7202, allocations: 113.5 kB / 0.7537 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0168/0.737, allocations: 6.273 MB / 0.7598 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.041e-06/0.737, allocations: 3.984 kB / 0.7598 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.704e-05/0.7371, allocations: 0 / 0.7598 GB, free: 25.94 MB / 0.5105 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.000674/0.7378, allocations: 389.2 kB / 0.7602 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/0.7378, allocations: 7.719 kB / 0.7602 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.411e-05/0.7379, allocations: 34.34 kB / 0.7602 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.719e-05/0.738, allocations: 0 / 0.7602 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.7381, allocations: 170 kB / 0.7604 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7382, allocations: 4 kB / 0.7604 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.7382, allocations: 3.984 kB / 0.7604 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.7384, allocations: 45 kB / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.7384, allocations: 0 / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.7384, allocations: 0 / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.7384, allocations: 0 / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.19e-05/0.7385, allocations: 15.52 kB / 0.7604 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002375/0.7387, allocations: 160.7 kB / 0.7606 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001093/0.7389, allocations: 41.05 kB / 0.7606 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.343e-05/0.7389, allocations: 20.2 kB / 0.7606 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.7401, allocations: 0.9835 MB / 0.7616 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.34e-05/0.7402, allocations: 34.47 kB / 0.7616 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=4): time 1.883e-06/0.7402, allocations: 0 / 0.7616 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4): time 0.0002206/0.7404, allocations: 51.88 kB / 0.7617 GB, free: 23.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.7405, allocations: 51.41 kB / 0.7617 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.7406, allocations: 100.5 kB / 0.7618 GB, free: 23.63 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.7406, allocations: 25.7 kB / 0.7618 GB, free: 23.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/0.7407, allocations: 83.89 kB / 0.7619 GB, free: 23.52 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.359e-05/0.7407, allocations: 19.59 kB / 0.7619 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.7408, allocations: 3.938 kB / 0.7619 GB, free: 23.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.741, allocations: 318.2 kB / 0.7623 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.741, allocations: 3.875 kB / 0.7623 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.42e-05/0.741, allocations: 14.7 kB / 0.7623 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.683e-05/0.7411, allocations: 11.61 kB / 0.7623 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.7411, allocations: 0 / 0.7623 GB, free: 23.17 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001262/0.7412, allocations: 48.5 kB / 0.7623 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7413, allocations: 4.844 kB / 0.7623 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.483e-06/0.7413, allocations: 0 / 0.7623 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.7413, allocations: 4 kB / 0.7623 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.7415, allocations: 11.66 kB / 0.7623 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7415, allocations: 3.906 kB / 0.7624 GB, free: 23.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.7415, allocations: 4 kB / 0.7624 GB, free: 23.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.7416, allocations: 7.172 kB / 0.7624 GB, free: 23.12 MB / 0.5105 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 (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 9.745e-05/0.7417, allocations: 104.9 kB / 0.7625 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.845e-05/0.7417, allocations: 11.75 kB / 0.7625 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.7419, allocations: 64.73 kB / 0.7625 GB, free: 22.96 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.7419, allocations: 4 kB / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.433e-06/0.7419, allocations: 3.906 kB / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.7419, allocations: 0 / 0.7625 GB, free: 22.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.7421, allocations: 160.2 kB / 0.7627 GB, free: 22.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.7421, allocations: 3.953 kB / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.786e-05/0.7422, allocations: 11.5 kB / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.7423, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.7423, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.7423, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7423, allocations: 0 / 0.7627 GB, free: 22.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001507/0.7425, allocations: 82.28 kB / 0.7628 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.7425, allocations: 88.95 kB / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.008e-05/0.7426, allocations: 0 / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.42e-05/0.7426, allocations: 3.188 kB / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.735e-05/0.7427, allocations: 3.812 kB / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.7427, allocations: 0 / 0.7629 GB, free: 22.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.763e-05/0.7427, allocations: 86.36 kB / 0.763 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.41e-07/0.7428, allocations: 0 / 0.763 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004497/0.7432, allocations: 54.67 kB / 0.763 GB, free: 22.47 MB / 0.5105 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 (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.0007925/0.744, allocations: 0.672 MB / 0.7637 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001173/0.7442, allocations: 18.56 kB / 0.7637 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7442, allocations: 0 / 0.7637 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.914e-05/0.7442, allocations: 7.75 kB / 0.7637 GB, free: 21.85 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.7444, allocations: 14.91 kB / 0.7637 GB, free: 21.84 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005026/0.745, allocations: 128 kB / 0.7638 GB, free: 21.71 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.7454, allocations: 0.6844 MB / 0.7645 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 8.256e-05/0.7455, allocations: 4.125 kB / 0.7645 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.924e-05/0.7455, allocations: 10.56 kB / 0.7645 GB, free: 21 MB / 0.5105 GB Notification: Performance of SimCode: time 3.11e-07/0.7455, allocations: 0 / 0.7645 GB, free: 21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01637/0.7619, allocations: 1.867 MB / 0.7663 GB, free: 20.19 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.7622, allocations: 223.9 kB / 0.7666 GB, free: 19.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.706/2.468, allocations: 0 / 0.7666 GB, free: 19.96 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)