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.0008105/0.0008105, 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.0008192/0.0008192, allocations: 170.3 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.8869/0.8869, allocations: 177.1 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.7298/0.7298, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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.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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.798e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.61 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002381/0.002399, allocations: 1.424 MB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.003755/0.006154, allocations: 2.641 MB / 0.6221 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.991e-05/0.006184, allocations: 0 / 0.6221 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 2.216e-05/0.006206, allocations: 7.922 kB / 0.6221 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.976e-05/0.006256, allocations: 11.81 kB / 0.6221 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.008605, allocations: 1.63 MB / 0.6237 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.26e-05/0.008678, allocations: 35.75 kB / 0.6238 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.813e-05/0.008716, allocations: 11.92 kB / 0.6238 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.922e-05/0.008755, allocations: 19.98 kB / 0.6238 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 2.033e-05/0.008776, allocations: 7.938 kB / 0.6238 GB, free: 7.82 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.008789, allocations: 11.94 kB / 0.6238 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001712/0.0105, allocations: 1.454 MB / 0.6252 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.01051, allocations: 4 kB / 0.6252 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.335e-05/0.01054, allocations: 7.938 kB / 0.6252 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01158, allocations: 1.247 MB / 0.6265 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01158, allocations: 0 / 0.6265 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01159, allocations: 0 / 0.6265 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.077e-06/0.01159, allocations: 0 / 0.6265 GB, free: 5.09 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.0004328/0.01202, allocations: 472 kB / 0.6269 GB, free: 4.598 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.01207, allocations: 12.03 kB / 0.6269 GB, free: 4.586 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.473e-05/0.01211, allocations: 110 kB / 0.627 GB, free: 4.469 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.01216, allocations: 80.22 kB / 0.6271 GB, free: 4.391 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.01228, allocations: 196.8 kB / 0.6273 GB, free: 4.172 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.531e-05/0.01233, allocations: 158.9 kB / 0.6274 GB, free: 4.016 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.01237, allocations: 154.9 kB / 0.6276 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.686e-05/0.01243, allocations: 101.5 kB / 0.6277 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.01245, allocations: 75.47 kB / 0.6278 GB, free: 3.684 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.247e-05/0.01249, allocations: 154.5 kB / 0.6279 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.01253, allocations: 158.5 kB / 0.6281 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.01258, allocations: 150.6 kB / 0.6282 GB, free: 3.227 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002214/0.0128, allocations: 437 kB / 0.6286 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.828e-05/0.01287, allocations: 173.1 kB / 0.6288 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.013e-05/0.0129, allocations: 84.14 kB / 0.6289 GB, free: 2.492 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.01292, allocations: 75.28 kB / 0.6289 GB, free: 2.418 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.597e-05/0.01295, allocations: 109.8 kB / 0.629 GB, free: 2.301 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=0): time 1.232e-06/0.01296, allocations: 3.938 kB / 0.629 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of matching and sorting (n=0): time 7.035e-05/0.01303, allocations: 33.64 kB / 0.6291 GB, free: 2.258 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/0.01308, allocations: 130.6 kB / 0.6292 GB, free: 2.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001206/0.0132, allocations: 132.3 kB / 0.6293 GB, free: 1.98 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.01321, allocations: 29.7 kB / 0.6294 GB, free: 1.945 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.641e-05/0.01326, allocations: 96.12 kB / 0.6294 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.01326, allocations: 0 / 0.6294 GB, free: 1.848 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.0133, allocations: 13.72 kB / 0.6295 GB, free: 1.828 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.0134, allocations: 322.8 kB / 0.6298 GB, free: 1.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.01342, allocations: 4 kB / 0.6298 GB, free: 1.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.284e-05/0.01343, allocations: 4 kB / 0.6298 GB, free: 1.496 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4e-05/0.01347, allocations: 12.86 kB / 0.6298 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.01347, allocations: 0 / 0.6298 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001286/0.0136, allocations: 53.58 kB / 0.6298 GB, free: 1.422 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.01362, allocations: 11.94 kB / 0.6298 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/0.01364, allocations: 0 / 0.6298 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.01366, allocations: 4.062 kB / 0.6298 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.126e-06/0.01366, allocations: 7.938 kB / 0.6299 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.01367, allocations: 0 / 0.6299 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.01368, allocations: 0 / 0.6299 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.01369, allocations: 0 / 0.6299 GB, free: 1.398 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 9.64e-05/0.01379, allocations: 186.1 kB / 0.63 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.01383, allocations: 108.9 kB / 0.6301 GB, free: 1.094 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.924e-05/0.01388, allocations: 120.7 kB / 0.6303 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/0.01393, allocations: 176.3 kB / 0.6304 GB, free: 0.7891 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.514e-05/0.01399, allocations: 184.3 kB / 0.6306 GB, free: 0.6016 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.68e-05/0.01405, allocations: 188.2 kB / 0.6308 GB, free: 420 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.01424, allocations: 384.3 kB / 0.6311 GB, free: 15.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.801e-05/0.01427, allocations: 104.9 kB / 0.6312 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.78e-05/0.0143, allocations: 105 kB / 0.6313 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002223/0.01452, allocations: 176.3 kB / 0.6315 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.384e-05/0.01457, allocations: 188.1 kB / 0.6317 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.585e-05/0.01462, allocations: 180.3 kB / 0.6319 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.622e-05/0.01467, allocations: 180.2 kB / 0.632 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.01478, allocations: 311.8 kB / 0.6323 GB, free: 14.7 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.759e-05/0.01482, allocations: 108.9 kB / 0.6324 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.45e-05/0.01487, allocations: 188.1 kB / 0.6326 GB, free: 14.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.217e-05/0.01492, allocations: 109.2 kB / 0.6327 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.01497, allocations: 180.3 kB / 0.6329 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.985e-05/0.015, allocations: 108.9 kB / 0.633 GB, free: 13.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.764e-05/0.01505, allocations: 101.4 kB / 0.6331 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01505, allocations: 0 / 0.6331 GB, free: 13.89 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004837/0.01553, allocations: 295 kB / 0.6334 GB, free: 13.6 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.0009558/0.01649, allocations: 1.212 MB / 0.6346 GB, free: 12.36 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001211/0.01661, allocations: 37.7 kB / 0.6346 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.01661, allocations: 0 / 0.6346 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.01662, allocations: 3.938 kB / 0.6346 GB, free: 12.31 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003332/0.01695, allocations: 459.7 kB / 0.635 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.01815, allocations: 1.575 MB / 0.6366 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.324e-05/0.0182, allocations: 63.44 kB / 0.6366 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.726e-05/0.01822, allocations: 4 kB / 0.6366 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.66e-05/0.01825, allocations: 20.48 kB / 0.6367 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.01825, allocations: 4 kB / 0.6367 GB, free: 10.08 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02007/0.03833, allocations: 7.798 MB / 0.6443 GB, free: 2.52 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/6.699, allocations: 1.938 kB / 0.6443 GB, free: 2.52 MB / 0.6042 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: 9.405058336444199] Failed to read output from testmodel.py, exit status != 0: 6.783339472487569 6.791018803 6.777781188 Calling exit ...