Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009812/0.0009812, allocations: 221.7 kB / 22.26 MB, free: 3.695 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9815/0.9815, allocations: 230.6 MB / 256 MB, free: 9.816 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8043/0.8043, allocations: 203.8 MB / 0.5042 GB, free: 10.71 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009118/0.0009118, allocations: 61.22 kB / 0.7183 GB, free: 4.297 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5677/0.5686, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.00179/0.5704, allocations: 1.381 MB / 0.8193 GB, free: 304 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.5717, allocations: 1.175 MB / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.039e-05/0.5718, allocations: 0 / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.908e-05/0.5718, allocations: 5.344 kB / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.734e-05/0.5718, allocations: 9.609 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005167/0.5723, allocations: 225.8 kB / 0.8207 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.229e-05/0.5724, allocations: 31.55 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.5725, allocations: 1.719 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.5726, allocations: 19.75 kB / 0.8207 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.172e-05/0.5726, allocations: 13.33 kB / 0.8207 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.739e-06/0.5726, allocations: 3.938 kB / 0.8207 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00051/0.5731, allocations: 444 kB / 0.8212 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.174e-05/0.5732, allocations: 2.953 kB / 0.8212 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.5732, allocations: 20.09 kB / 0.8212 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002784/0.5735, allocations: 201 kB / 0.8214 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.5735, allocations: 0 / 0.8214 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.304e-06/0.5735, allocations: 3.938 kB / 0.8214 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.024e-06/0.5735, allocations: 0 / 0.8214 GB, free: 15.17 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003804/0.5739, allocations: 320.5 kB / 0.8217 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.5739, allocations: 12.12 kB / 0.8217 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.5739, allocations: 31.55 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.152e-05/0.574, allocations: 0.9375 kB / 0.8217 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.169e-05/0.574, allocations: 121.7 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.574, allocations: 6.125 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.789e-06/0.5741, allocations: 1.531 kB / 0.8218 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.5742, allocations: 44.06 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.5742, allocations: 3.984 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.5742, allocations: 2.094 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.5742, allocations: 0 / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.05e-05/0.5742, allocations: 10.05 kB / 0.8219 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001284/0.5743, allocations: 132.5 kB / 0.822 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.086e-05/0.5744, allocations: 45.02 kB / 0.8221 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.5744, allocations: 10.98 kB / 0.8221 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003477/0.5748, allocations: 103 kB / 0.8222 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.5748, allocations: 35.66 kB / 0.8222 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.5748, allocations: 0 / 0.8222 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001435/0.575, allocations: 57.44 kB / 0.8223 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.575, allocations: 55.34 kB / 0.8223 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.791e-05/0.575, allocations: 110.1 kB / 0.8224 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.5751, allocations: 25.7 kB / 0.8224 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.763e-05/0.5751, allocations: 86.14 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.681e-05/0.5751, allocations: 19.92 kB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.451e-05/0.5751, allocations: 12.97 kB / 0.8226 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/0.5752, allocations: 322.8 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.5752, allocations: 4.266 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.408e-05/0.5753, allocations: 5.891 kB / 0.8229 GB, free: 13.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.07e-05/0.5753, allocations: 24.73 kB / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5753, allocations: 0 / 0.8229 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.923e-05/0.5754, allocations: 60.14 kB / 0.823 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5754, allocations: 9.75 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.5754, allocations: 0 / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5754, allocations: 0.7031 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.972e-05/0.5755, allocations: 13.89 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.5755, allocations: 5.25 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.5755, allocations: 1.125 kB / 0.823 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.5755, allocations: 1.125 kB / 0.823 GB, free: 13.62 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 (4): * Single equations (assignments): 4 * 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 prepare postOptimizeDAE: time 6.684e-05/0.5756, allocations: 108.1 kB / 0.8231 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.05e-05/0.5756, allocations: 14.3 kB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.5757, allocations: 62.89 kB / 0.8232 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5757, allocations: 2.328 kB / 0.8232 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.5757, allocations: 0 / 0.8232 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.5757, allocations: 5.125 kB / 0.8232 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.854e-05/0.5758, allocations: 133.3 kB / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.5758, allocations: 5.141 kB / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.142e-05/0.5758, allocations: 16.88 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.5758, allocations: 1.125 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.5759, allocations: 1.609 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.5759, allocations: 4 kB / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.5759, allocations: 0 / 0.8233 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.732e-05/0.5759, allocations: 74.58 kB / 0.8234 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.05e-05/0.5759, allocations: 14.39 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.576, allocations: 2.344 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.536e-06/0.576, allocations: 0 / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.404e-05/0.576, allocations: 2.422 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.576, allocations: 1.125 kB / 0.8234 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.576, allocations: 91.14 kB / 0.8235 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.576, allocations: 4.969 kB / 0.8235 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001636/0.5762, allocations: 43.77 kB / 0.8236 GB, free: 13.09 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 (4): * Single equations (assignments): 4 * 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.0004142/0.5766, allocations: 0.6716 MB / 0.8242 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001043/0.5767, allocations: 20.62 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5767, allocations: 3.938 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.715e-05/0.5767, allocations: 13.2 kB / 0.8242 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000187/0.5769, allocations: 11.39 kB / 0.8243 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004025/0.5773, allocations: 193.1 kB / 0.8244 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.5775, allocations: 0.6878 MB / 0.8251 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.815e-05/0.5775, allocations: 3.141 kB / 0.8251 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.5776, allocations: 15.62 kB / 0.8251 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.5776, allocations: 0 / 0.8251 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01748/0.595, allocations: 2.367 MB / 0.8274 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.757/7.352, allocations: 5.453 kB / 0.8274 GB, free: 11.11 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --stepSize=4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.396317671984434] Failed to read output from testmodel.py, exit status != 0: 7.4283683290705085 7.44552108 6.869186657 Calling exit ...