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.InternalResistancesTwoUTubeNegative.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.000771/0.000771, 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.0007742/0.0007742, allocations: 223.2 kB / 22.26 MB, free: 3.707 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.9287/0.9287, 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.7953/0.7953, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.00154/0.00154, allocations: 74.06 kB / 0.7183 GB, free: 4.309 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5119/0.5134, 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.InternalResistancesTwoUTubeNegative): time 0.001814/0.5152, allocations: 1.475 MB / 0.8194 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003417/0.5187, allocations: 3.012 MB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.5187, allocations: 0 / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.163e-05/0.5187, allocations: 7.266 kB / 0.8223 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.893e-05/0.5188, allocations: 15.25 kB / 0.8223 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003311/0.5221, allocations: 1.701 MB / 0.824 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.914e-05/0.5222, allocations: 42.02 kB / 0.8241 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.133e-05/0.5222, allocations: 2.703 kB / 0.8241 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.814e-05/0.5223, allocations: 13.61 kB / 0.8241 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.827e-05/0.5223, allocations: 25.83 kB / 0.8241 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.288e-06/0.5223, allocations: 1.125 kB / 0.8241 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.5247, allocations: 1.765 MB / 0.8258 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.5247, allocations: 3.266 kB / 0.8258 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.628e-05/0.5247, allocations: 19.16 kB / 0.8258 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.5265, allocations: 1.152 MB / 0.827 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.5265, allocations: 0 / 0.827 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5265, allocations: 0 / 0.827 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.5265, allocations: 0 / 0.827 GB, free: 12.38 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.0006363/0.5271, allocations: 474.9 kB / 0.8274 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5272, allocations: 10.22 kB / 0.8274 GB, free: 11.97 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.5272, allocations: 110.6 kB / 0.8275 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.5273, allocations: 82.8 kB / 0.8276 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000108/0.5274, allocations: 196.2 kB / 0.8278 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/0.5275, allocations: 152.1 kB / 0.8279 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.5276, allocations: 155.5 kB / 0.8281 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.864e-05/0.5276, allocations: 106.2 kB / 0.8282 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5276, allocations: 75.28 kB / 0.8283 GB, free: 11.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.5277, allocations: 155.4 kB / 0.8284 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.062e-05/0.5277, allocations: 151.9 kB / 0.8286 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.528e-05/0.5277, allocations: 154.5 kB / 0.8287 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002026/0.5279, allocations: 437.5 kB / 0.8291 GB, free: 10.17 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.865e-05/0.528, allocations: 170.2 kB / 0.8293 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.528, allocations: 81.78 kB / 0.8294 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.286e-05/0.528, allocations: 79.22 kB / 0.8294 GB, free: 9.836 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.5281, allocations: 112 kB / 0.8295 GB, free: 9.719 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.5281, allocations: 3.938 kB / 0.8295 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.19e-05/0.5282, allocations: 36.89 kB / 0.8296 GB, free: 9.676 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.5282, allocations: 127.5 kB / 0.8297 GB, free: 9.539 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.5284, allocations: 131.3 kB / 0.8298 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.005e-06/0.5284, allocations: 25.7 kB / 0.8299 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.5284, allocations: 99.52 kB / 0.8299 GB, free: 9.305 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.865e-06/0.5284, allocations: 5.531 kB / 0.83 GB, free: 9.301 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.5284, allocations: 20.28 kB / 0.83 GB, free: 9.281 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.021e-05/0.5285, allocations: 314.3 kB / 0.8303 GB, free: 8.969 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.894e-05/0.5286, allocations: 8.031 kB / 0.8303 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.879e-05/0.5286, allocations: 4.203 kB / 0.8303 GB, free: 8.965 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.463e-05/0.5286, allocations: 18.34 kB / 0.8303 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5286, allocations: 0 / 0.8303 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/0.5288, allocations: 51.61 kB / 0.8304 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5288, allocations: 9.594 kB / 0.8304 GB, free: 8.906 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.5288, allocations: 6.875 kB / 0.8304 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5288, allocations: 0.6562 kB / 0.8304 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.5288, allocations: 1.219 kB / 0.8304 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.5288, allocations: 64 / 0.8304 GB, free: 8.902 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.432e-05/0.5289, allocations: 13.88 kB / 0.8304 GB, free: 8.891 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.5289, allocations: 0.9688 kB / 0.8304 GB, free: 8.891 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 8.498e-05/0.529, allocations: 184.2 kB / 0.8306 GB, free: 8.703 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.529, allocations: 115.8 kB / 0.8307 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.529, allocations: 117.3 kB / 0.8308 GB, free: 8.465 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.732e-05/0.5291, allocations: 178 kB / 0.8309 GB, free: 8.285 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.005e-05/0.5291, allocations: 184.8 kB / 0.8311 GB, free: 8.098 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/0.5292, allocations: 178.3 kB / 0.8313 GB, free: 7.918 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.5293, allocations: 397.2 kB / 0.8317 GB, free: 7.492 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.156e-05/0.5293, allocations: 105.7 kB / 0.8318 GB, free: 7.383 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.121e-05/0.5293, allocations: 102.8 kB / 0.8319 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.634e-05/0.5294, allocations: 182.2 kB / 0.832 GB, free: 7.094 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.896e-05/0.5294, allocations: 178.4 kB / 0.8322 GB, free: 6.914 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.551e-05/0.5295, allocations: 180.9 kB / 0.8324 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.581e-05/0.5295, allocations: 182 kB / 0.8326 GB, free: 6.547 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.038e-05/0.5296, allocations: 311 kB / 0.8329 GB, free: 6.227 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.066e-05/0.5296, allocations: 112.7 kB / 0.833 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.355e-05/0.5297, allocations: 187.3 kB / 0.8331 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.926e-05/0.5297, allocations: 101.6 kB / 0.8332 GB, free: 5.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.991e-05/0.5298, allocations: 186.2 kB / 0.8334 GB, free: 5.633 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.23e-05/0.5298, allocations: 107.2 kB / 0.8335 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.515e-05/0.5299, allocations: 103.5 kB / 0.8336 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5299, allocations: 0 / 0.8336 GB, free: 5.441 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001044/0.5309, allocations: 294.6 kB / 0.8339 GB, free: 5.367 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.001192/0.5321, allocations: 1.194 MB / 0.8351 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.5322, allocations: 39.92 kB / 0.8351 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5322, allocations: 0 / 0.8351 GB, free: 4.402 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.022e-06/0.5322, allocations: 5.281 kB / 0.8351 GB, free: 4.398 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5325, allocations: 460.5 kB / 0.8356 GB, free: 3.949 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5339, allocations: 1.617 MB / 0.8371 GB, free: 2.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001685/0.534, allocations: 0.6833 MB / 0.8378 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.057e-05/0.5341, allocations: 8.547 kB / 0.8378 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.29e-05/0.5341, allocations: 14.66 kB / 0.8378 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of SimCode: time 8.02e-07/0.5341, allocations: 0.5312 kB / 0.8378 GB, free: 1.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02763/0.5617, allocations: 7.354 MB / 0.845 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.556/7.117, allocations: 11.77 kB / 0.845 GB, free: 15.2 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.967641883995384] Failed to read output from testmodel.py, exit status != 0: 7.199483684031293 7.210982203 6.68227052 Calling exit ...