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.0007847/0.0007847, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008218/0.0008218, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8715/0.8715, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.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.7131/0.7131, allocations: 154.5 MB / 413.7 MB, free: 0.8398 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.514e-05/1.682e-05, allocations: 5.234 kB / 0.6181 GB, free: 13.63 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001733/0.00175, allocations: 1.429 MB / 0.6195 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002903/0.004653, allocations: 2.684 MB / 0.6222 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.004691, allocations: 0 / 0.6222 GB, free: 9.488 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.269e-05/0.004714, allocations: 3.938 kB / 0.6222 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.974e-05/0.004763, allocations: 11.86 kB / 0.6222 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.002383/0.007147, allocations: 1.662 MB / 0.6238 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.452e-05/0.007211, allocations: 43.69 kB / 0.6238 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.158e-05/0.007243, allocations: 7.984 kB / 0.6238 GB, free: 7.789 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.512e-05/0.007278, allocations: 19.92 kB / 0.6239 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 1.723e-05/0.007295, allocations: 8 kB / 0.6239 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.007306, allocations: 7.938 kB / 0.6239 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.008565, allocations: 1.485 MB / 0.6253 GB, free: 6.266 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.008576, allocations: 8 kB / 0.6253 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.91e-05/0.008596, allocations: 19.91 kB / 0.6254 GB, free: 6.238 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0009552/0.009551, allocations: 1.27 MB / 0.6266 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.009553, allocations: 0 / 0.6266 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.41e-07/0.009553, allocations: 0 / 0.6266 GB, free: 4.965 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.136e-06/0.009557, allocations: 0 / 0.6266 GB, free: 4.965 MB / 0.5886 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.0003669/0.009923, allocations: 476 kB / 0.6271 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/0.009955, allocations: 12.03 kB / 0.6271 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.226e-05/0.009987, allocations: 106 kB / 0.6272 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.01003, allocations: 84.17 kB / 0.6272 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.765e-05/0.01012, allocations: 189 kB / 0.6274 GB, free: 4.051 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.01015, allocations: 154.9 kB / 0.6276 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.488e-05/0.01019, allocations: 154.9 kB / 0.6277 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.324e-05/0.01023, allocations: 109.5 kB / 0.6278 GB, free: 3.633 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.01025, allocations: 75.47 kB / 0.6279 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.01028, allocations: 158.5 kB / 0.6281 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.007e-05/0.01031, allocations: 150.6 kB / 0.6282 GB, free: 3.254 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.232e-05/0.01034, allocations: 154.6 kB / 0.6283 GB, free: 3.102 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001807/0.01052, allocations: 433 kB / 0.6288 GB, free: 2.637 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.01058, allocations: 169.2 kB / 0.6289 GB, free: 2.461 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.517e-05/0.0106, allocations: 84.14 kB / 0.629 GB, free: 2.375 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.01062, allocations: 75.28 kB / 0.6291 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001499/0.01077, allocations: 105.8 kB / 0.6292 GB, free: 2.188 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.01077, allocations: 4 kB / 0.6292 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 5.662e-05/0.01083, allocations: 53.45 kB / 0.6292 GB, free: 2.125 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.01086, allocations: 126.7 kB / 0.6293 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.318e-05/0.01096, allocations: 136.2 kB / 0.6295 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-06/0.01097, allocations: 25.7 kB / 0.6295 GB, free: 1.816 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.011, allocations: 88.14 kB / 0.6296 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.011, allocations: 0 / 0.6296 GB, free: 1.727 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.01103, allocations: 21.7 kB / 0.6296 GB, free: 1.699 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.01109, allocations: 314.8 kB / 0.6299 GB, free: 1.383 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.897e-05/0.01111, allocations: 8 kB / 0.6299 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.01112, allocations: 7.984 kB / 0.6299 GB, free: 1.367 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.762e-05/0.01115, allocations: 16.89 kB / 0.6299 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.01115, allocations: 4 kB / 0.6299 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.919e-05/0.01124, allocations: 49.59 kB / 0.63 GB, free: 1.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.01125, allocations: 11.94 kB / 0.63 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.01127, allocations: 0 / 0.63 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.01128, allocations: 0 / 0.63 GB, free: 1.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.452e-06/0.01128, allocations: 11.92 kB / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.908e-06/0.01128, allocations: 0 / 0.63 GB, free: 1.266 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.583e-05/0.0113, allocations: 8 kB / 0.63 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-06/0.0113, allocations: 0 / 0.63 GB, free: 1.258 MB / 0.5886 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 5.978e-05/0.01136, allocations: 190.1 kB / 0.6302 GB, free: 1.062 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.188e-05/0.0114, allocations: 108.9 kB / 0.6303 GB, free: 0.9492 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.139e-05/0.01143, allocations: 116.7 kB / 0.6304 GB, free: 0.8281 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/0.01146, allocations: 184.2 kB / 0.6306 GB, free: 0.6406 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.652e-05/0.0115, allocations: 180.2 kB / 0.6308 GB, free: 468 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-05/0.01153, allocations: 176.3 kB / 0.6309 GB, free: 284 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.01167, allocations: 384.3 kB / 0.6313 GB, free: 15.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.123e-05/0.0117, allocations: 104.9 kB / 0.6314 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.074e-05/0.01172, allocations: 109 kB / 0.6315 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.555e-05/0.01175, allocations: 180.2 kB / 0.6317 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.01179, allocations: 184.2 kB / 0.6318 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.824e-05/0.01183, allocations: 180.3 kB / 0.632 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-05/0.01186, allocations: 184.2 kB / 0.6322 GB, free: 14.89 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.117e-05/0.01194, allocations: 315.7 kB / 0.6325 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.809e-05/0.01197, allocations: 108.9 kB / 0.6326 GB, free: 14.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.01202, allocations: 184.2 kB / 0.6328 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.62e-05/0.01206, allocations: 113.1 kB / 0.6329 GB, free: 14.14 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.271e-05/0.0121, allocations: 188.2 kB / 0.6331 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.01213, allocations: 105 kB / 0.6332 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.01216, allocations: 95.27 kB / 0.6333 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.01216, allocations: 0 / 0.6333 GB, free: 13.74 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004169/0.01258, allocations: 303 kB / 0.6335 GB, free: 13.45 MB / 0.6042 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.0008551/0.01344, allocations: 1.231 MB / 0.6347 GB, free: 12.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 8.28e-05/0.01352, allocations: 41.64 kB / 0.6348 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.01352, allocations: 0 / 0.6348 GB, free: 12.14 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.01352, allocations: 8.062 kB / 0.6348 GB, free: 12.13 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.01378, allocations: 459.7 kB / 0.6352 GB, free: 11.68 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.01478, allocations: 1.588 MB / 0.6368 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.501e-05/0.01482, allocations: 67.34 kB / 0.6368 GB, free: 9.922 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.101e-05/0.01483, allocations: 3.984 kB / 0.6368 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.388e-05/0.01485, allocations: 16.5 kB / 0.6369 GB, free: 9.898 MB / 0.6042 GB Notification: Performance of SimCode: time 2.9e-07/0.01485, allocations: 4.031 kB / 0.6369 GB, free: 9.895 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.0328, allocations: 7.993 MB / 0.6447 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.116, allocations: 9.406 kB / 0.6447 GB, free: 2.129 MB / 0.6042 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.66159333102405] Failed to read output from testmodel.py, exit status != 0: 7.19761026930064 7.207558627 7.196246761 Calling exit ...