Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.0007984/0.0007984, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007836/0.0007836, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8433/0.8433, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.6774/0.6774, allocations: 154.6 MB / 413.7 MB, free: 0.8203 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.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.463e-05/1.59e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00345/0.003466, allocations: 3.79 MB / 0.6218 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002487/0.005953, allocations: 2.23 MB / 0.624 GB, free: 7.609 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.006165, allocations: 16 kB / 0.624 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.00724, allocations: 0.5128 MB / 0.6245 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002931/0.007533, allocations: 257.8 kB / 0.6247 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001554/0.007689, allocations: 135.8 kB / 0.6249 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0005404/0.008229, allocations: 0.8438 MB / 0.6257 GB, free: 5.844 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002634/0.008493, allocations: 219 kB / 0.6259 GB, free: 5.625 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004807/0.008973, allocations: 467 kB / 0.6264 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000225/0.009198, allocations: 239.3 kB / 0.6266 GB, free: 4.934 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 5.463e-05/0.009253, allocations: 76 kB / 0.6267 GB, free: 4.859 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.023e-05/0.009313, allocations: 76 kB / 0.6267 GB, free: 4.785 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001145/0.009428, allocations: 175.4 kB / 0.6269 GB, free: 4.613 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.009594, allocations: 267.4 kB / 0.6271 GB, free: 4.352 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.000827/0.01042, allocations: 0.9969 MB / 0.6281 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01042, allocations: 0 / 0.6281 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.92e-07/0.01043, allocations: 0 / 0.6281 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.33e-05/0.01044, allocations: 0 / 0.6281 GB, free: 3.352 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0009513/0.01139, allocations: 0.8821 MB / 0.629 GB, free: 2.438 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.01143, allocations: 13.47 kB / 0.629 GB, free: 2.426 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.513e-05/0.0115, allocations: 90.7 kB / 0.6291 GB, free: 2.328 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.886e-05/0.01158, allocations: 76.47 kB / 0.6292 GB, free: 2.254 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.01202, allocations: 395.5 kB / 0.6295 GB, free: 1.844 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.01205, allocations: 33.38 kB / 0.6296 GB, free: 1.812 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.01209, allocations: 48.38 kB / 0.6296 GB, free: 1.766 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004711/0.01257, allocations: 427 kB / 0.63 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.01258, allocations: 8.141 kB / 0.63 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.701e-05/0.01261, allocations: 32.06 kB / 0.6301 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.01262, allocations: 8 kB / 0.6301 GB, free: 1.297 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.01305, allocations: 363.8 kB / 0.6304 GB, free: 0.9414 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.0143, allocations: 1.249 MB / 0.6316 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000334/0.01463, allocations: 311.2 kB / 0.6319 GB, free: 15.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003061/0.01494, allocations: 296.7 kB / 0.6322 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.01496, allocations: 4 kB / 0.6322 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.01498, allocations: 38.56 kB / 0.6323 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 1.563e-06/0.01498, allocations: 0 / 0.6323 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.0005732/0.01555, allocations: 0.4897 MB / 0.6327 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.01558, allocations: 55.41 kB / 0.6328 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003459/0.01592, allocations: 485.9 kB / 0.6332 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.01594, allocations: 29.7 kB / 0.6333 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.01606, allocations: 280.7 kB / 0.6335 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.01614, allocations: 154.6 kB / 0.6337 GB, free: 13.48 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.766e-05/0.01621, allocations: 66.78 kB / 0.6338 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.0163, allocations: 366.7 kB / 0.6341 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.01645, allocations: 120.7 kB / 0.6342 GB, free: 12.92 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01659, allocations: 121.5 kB / 0.6343 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.0169, allocations: 302.2 kB / 0.6346 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.01691, allocations: 0 / 0.6346 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006428/0.01755, allocations: 396.5 kB / 0.635 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.01756, allocations: 7.938 kB / 0.635 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.01757, allocations: 3.938 kB / 0.635 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01758, allocations: 4 kB / 0.635 GB, free: 12.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002656/0.01784, allocations: 127.8 kB / 0.6351 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.01785, allocations: 0 / 0.6351 GB, free: 11.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.01795, allocations: 39.72 kB / 0.6352 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.158e-05/0.01796, allocations: 8 kB / 0.6352 GB, free: 11.93 MB / 0.6042 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 (46): * Single equations (assignments): 46 * 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 0.0001393/0.0181, allocations: 205.7 kB / 0.6354 GB, free: 11.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.479e-05/0.01815, allocations: 51.67 kB / 0.6354 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.127e-05/0.01821, allocations: 65.05 kB / 0.6355 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.01821, allocations: 7.984 kB / 0.6355 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01822, allocations: 0 / 0.6355 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.01822, allocations: 3.984 kB / 0.6355 GB, free: 11.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.0186, allocations: 484.3 kB / 0.636 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.0186, allocations: 0 / 0.636 GB, free: 11.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.01887, allocations: 127.9 kB / 0.6361 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01887, allocations: 0 / 0.6361 GB, free: 10.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.01889, allocations: 11.94 kB / 0.6361 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.01889, allocations: 4 kB / 0.6361 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01889, allocations: 7.984 kB / 0.6361 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.0195, allocations: 0.6481 MB / 0.6367 GB, free: 10.26 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.01956, allocations: 59.64 kB / 0.6368 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.0196, allocations: 15.94 kB / 0.6368 GB, free: 10.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.0197, allocations: 15.98 kB / 0.6368 GB, free: 10.17 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.01975, allocations: 23.95 kB / 0.6369 GB, free: 10.15 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.01976, allocations: 12 kB / 0.6369 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002512/0.02001, allocations: 355 kB / 0.6372 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8e-08/0.02001, allocations: 0 / 0.6372 GB, free: 9.789 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002506/0.02026, allocations: 147.7 kB / 0.6373 GB, free: 9.645 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0008229/0.02108, allocations: 1.196 MB / 0.6385 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.02144, allocations: 316.4 kB / 0.6388 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.02145, allocations: 0 / 0.6388 GB, free: 8.109 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.02161, allocations: 163.8 kB / 0.639 GB, free: 7.949 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.02202, allocations: 120.2 kB / 0.6391 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004517/0.02654, allocations: 4.8 MB / 0.6438 GB, free: 2.945 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.0267, allocations: 267.2 kB / 0.644 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.02682, allocations: 56.3 kB / 0.6441 GB, free: 2.602 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001649/0.02699, allocations: 188.4 kB / 0.6443 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of SimCode: time 6.01e-07/0.02699, allocations: 0 / 0.6443 GB, free: 2.418 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02446/0.05145, allocations: 12.74 MB / 0.6567 GB, free: 6.082 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.495/7.546, allocations: 4.062 kB / 0.6567 GB, free: 6.078 MB / 0.6198 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.065332908183336] Failed to read output from testmodel.py, exit status != 0: 7.634505074471235 7.647683048 7.634602607 Calling exit ...