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.InternalResistancesOneUTubeNegative.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.001015/0.001015, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0009576/0.0009576, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9348/0.9348, allocations: 230.6 MB / 256 MB, free: 9.59 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.7911/0.7911, allocations: 203.8 MB / 0.5042 GB, free: 10.44 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.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.0008837/0.0008837, allocations: 75.28 kB / 0.7183 GB, free: 3.961 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5504/0.5513, allocations: 102 MB / 0.8179 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001812/0.5531, allocations: 1.431 MB / 0.8193 GB, free: 44 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.5563, allocations: 2.656 MB / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.5563, allocations: 0 / 0.8219 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.5563, allocations: 9.656 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.775e-05/0.5564, allocations: 9.234 kB / 0.8219 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002534/0.5589, allocations: 1.602 MB / 0.8234 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.559, allocations: 44.67 kB / 0.8235 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.851e-05/0.559, allocations: 2.625 kB / 0.8235 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.681e-05/0.559, allocations: 22.84 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.205e-05/0.5591, allocations: 11.66 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-06/0.5591, allocations: 1.125 kB / 0.8235 GB, free: 13.55 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.5607, allocations: 1.449 MB / 0.8249 GB, free: 13.17 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.279e-05/0.5607, allocations: 7.453 kB / 0.8249 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.229e-05/0.5608, allocations: 14.23 kB / 0.825 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001169/0.5619, allocations: 1.082 MB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5619, allocations: 0 / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5619, allocations: 1.25 kB / 0.826 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.82e-06/0.562, allocations: 4 kB / 0.826 GB, free: 12.86 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004349/0.5624, allocations: 461.8 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.5624, allocations: 10.06 kB / 0.8265 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.5625, allocations: 106 kB / 0.8266 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.454e-05/0.5625, allocations: 83.39 kB / 0.8267 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001082/0.5626, allocations: 195.8 kB / 0.8268 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.133e-05/0.5627, allocations: 156 kB / 0.827 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.097e-05/0.5627, allocations: 153 kB / 0.8271 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.273e-05/0.5628, allocations: 114.1 kB / 0.8272 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.188e-05/0.5628, allocations: 79.27 kB / 0.8273 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.5628, allocations: 156.2 kB / 0.8275 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.383e-05/0.5629, allocations: 151.6 kB / 0.8276 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.713e-05/0.5629, allocations: 151.7 kB / 0.8278 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002051/0.5631, allocations: 432.5 kB / 0.8282 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.632e-05/0.5632, allocations: 175 kB / 0.8283 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.668e-05/0.5632, allocations: 81.58 kB / 0.8284 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.5632, allocations: 83.22 kB / 0.8285 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.5633, allocations: 108 kB / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 6.41e-07/0.5633, allocations: 0 / 0.8286 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 6.285e-05/0.5633, allocations: 33.05 kB / 0.8286 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5634, allocations: 128.1 kB / 0.8288 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.5635, allocations: 133.1 kB / 0.8289 GB, free: 9.926 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.5635, allocations: 29.64 kB / 0.8289 GB, free: 9.891 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.5635, allocations: 96.62 kB / 0.829 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.5635, allocations: 1.438 kB / 0.829 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.5636, allocations: 15.36 kB / 0.829 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.254e-05/0.5636, allocations: 318.5 kB / 0.8293 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.956e-05/0.5637, allocations: 3.422 kB / 0.8293 GB, free: 9.465 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.409e-05/0.5637, allocations: 12.75 kB / 0.8293 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.241e-05/0.5637, allocations: 10.42 kB / 0.8293 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5637, allocations: 0 / 0.8293 GB, free: 9.449 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001024/0.5638, allocations: 54.33 kB / 0.8294 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.5638, allocations: 5.562 kB / 0.8294 GB, free: 9.406 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/0.5638, allocations: 6.688 kB / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.5639, allocations: 0 / 0.8294 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.5639, allocations: 5.094 kB / 0.8294 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.5639, allocations: 0.5156 kB / 0.8294 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.845e-05/0.5639, allocations: 9.328 kB / 0.8294 GB, free: 9.391 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.5639, allocations: 6.078 kB / 0.8294 GB, free: 9.387 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 (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 6.539e-05/0.564, allocations: 183.3 kB / 0.8296 GB, free: 9.199 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.564, allocations: 108.5 kB / 0.8297 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.564, allocations: 120.4 kB / 0.8298 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.906e-05/0.5641, allocations: 183.2 kB / 0.83 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-05/0.5641, allocations: 178.3 kB / 0.8302 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.94e-05/0.5641, allocations: 186.7 kB / 0.8303 GB, free: 8.414 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001476/0.5643, allocations: 388.2 kB / 0.8307 GB, free: 7.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.343e-05/0.5643, allocations: 102.8 kB / 0.8308 GB, free: 7.891 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.404e-05/0.5643, allocations: 106.6 kB / 0.8309 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.004e-05/0.5644, allocations: 178.2 kB / 0.8311 GB, free: 7.602 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.502e-05/0.5644, allocations: 182.1 kB / 0.8313 GB, free: 7.418 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.762e-05/0.5645, allocations: 182 kB / 0.8314 GB, free: 7.234 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.214e-05/0.5645, allocations: 187.1 kB / 0.8316 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.934e-05/0.5646, allocations: 311.3 kB / 0.8319 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.316e-05/0.5646, allocations: 117 kB / 0.832 GB, free: 6.609 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.932e-05/0.5647, allocations: 179.3 kB / 0.8322 GB, free: 6.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.837e-05/0.5647, allocations: 107.2 kB / 0.8323 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.284e-05/0.5648, allocations: 178.4 kB / 0.8325 GB, free: 6.141 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.599e-05/0.5648, allocations: 103.1 kB / 0.8326 GB, free: 6.035 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.539e-05/0.5648, allocations: 98.41 kB / 0.8327 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.5648, allocations: 0 / 0.8327 GB, free: 5.957 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000472/0.5653, allocations: 293.9 kB / 0.8329 GB, free: 5.879 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 (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.0009586/0.5663, allocations: 1.182 MB / 0.8341 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.43e-05/0.5664, allocations: 38.14 kB / 0.8341 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5664, allocations: 1.062 kB / 0.8341 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.5664, allocations: 0 / 0.8341 GB, free: 4.91 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.5666, allocations: 467.2 kB / 0.8346 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001034/0.5677, allocations: 1.587 MB / 0.8361 GB, free: 3.023 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.821e-05/0.5677, allocations: 73.95 kB / 0.8362 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.224e-05/0.5677, allocations: 5.953 kB / 0.8362 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.442e-05/0.5678, allocations: 13.25 kB / 0.8362 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of SimCode: time 4.61e-07/0.5678, allocations: 0 / 0.8362 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02207/0.5898, allocations: 7.62 MB / 0.8437 GB, free: 48 kB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.685/7.275, allocations: 2.812 kB / 0.8437 GB, free: 48 kB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.202690527308732] Failed to read output from testmodel.py, exit status != 0: 7.356236675288528 7.366394073 6.802478297 Calling exit ...