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.0008846/0.0008846, allocations: 81.14 kB / 19.87 MB, free: 4.621 MB / 18.57 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.0008497/0.0008497, allocations: 173 kB / 23.28 MB, free: 1.223 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.873/0.873, allocations: 177.1 MB / 203.7 MB, free: 5.516 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-535:34: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-535:42: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.7268/0.7268, allocations: 154.9 MB / 415.1 MB, free: 280 kB / 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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5212 GB, free: 344 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.326e-05/1.49e-05, allocations: 2.312 kB / 0.5212 GB, free: 340 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.005183/0.005198, allocations: 1.475 MB / 0.5227 GB, free: 14.87 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004038/0.009236, allocations: 2.777 MB / 0.5254 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.261e-05/0.009279, allocations: 4 kB / 0.5254 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.009296, allocations: 3.938 kB / 0.5254 GB, free: 12.08 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 4.744e-05/0.009343, allocations: 11.91 kB / 0.5254 GB, free: 12.07 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002382/0.01172, allocations: 1.651 MB / 0.527 GB, free: 10.46 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 6.019e-05/0.01179, allocations: 43.67 kB / 0.527 GB, free: 10.41 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.073e-05/0.01182, allocations: 7.984 kB / 0.527 GB, free: 10.41 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.342e-05/0.01185, allocations: 23.86 kB / 0.5271 GB, free: 10.38 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 1.579e-05/0.01187, allocations: 4 kB / 0.5271 GB, free: 10.38 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.666e-06/0.01187, allocations: 4 kB / 0.5271 GB, free: 10.38 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001408/0.01328, allocations: 1.499 MB / 0.5285 GB, free: 8.875 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.638e-06/0.01329, allocations: 3.938 kB / 0.5285 GB, free: 8.871 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 1.863e-05/0.01331, allocations: 15.92 kB / 0.5286 GB, free: 8.855 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.01441, allocations: 1.287 MB / 0.5298 GB, free: 7.566 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.683e-06/0.01441, allocations: 0 / 0.5298 GB, free: 7.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.01441, allocations: 1.594 kB / 0.5298 GB, free: 7.566 MB / 458.7 MB Notification: Performance of Transformations before backend: time 2.695e-06/0.01441, allocations: 0 / 0.5298 GB, free: 7.566 MB / 458.7 MB 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.0003946/0.01481, allocations: 0.5686 MB / 0.5304 GB, free: 6.961 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.01484, allocations: 12.03 kB / 0.5304 GB, free: 6.949 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.01489, allocations: 126.5 kB / 0.5305 GB, free: 6.828 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.863e-05/0.01498, allocations: 239.7 kB / 0.5307 GB, free: 6.566 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.01502, allocations: 238.8 kB / 0.531 GB, free: 6.332 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.908e-05/0.01507, allocations: 242.7 kB / 0.5312 GB, free: 6.094 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.894e-05/0.01512, allocations: 153.4 kB / 0.5313 GB, free: 5.938 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.716e-05/0.01515, allocations: 123.4 kB / 0.5315 GB, free: 5.816 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.608e-05/0.01521, allocations: 246.5 kB / 0.5317 GB, free: 5.574 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.532e-05/0.01525, allocations: 241 kB / 0.5319 GB, free: 5.34 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.0153, allocations: 238.4 kB / 0.5322 GB, free: 5.105 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001847/0.01548, allocations: 0.5608 MB / 0.5327 GB, free: 4.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.856e-05/0.01555, allocations: 269.4 kB / 0.533 GB, free: 4.242 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.852e-05/0.01558, allocations: 130.9 kB / 0.5331 GB, free: 4.109 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.525e-05/0.0156, allocations: 119.2 kB / 0.5332 GB, free: 3.992 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.01564, allocations: 153.5 kB / 0.5333 GB, free: 3.832 MB / 458.7 MB Notification: Performance of pre-optimization done (n=0): time 6.62e-07/0.01564, allocations: 4 kB / 0.5333 GB, free: 3.828 MB / 458.7 MB Notification: Performance of matching and sorting (n=0): time 4.172e-05/0.01568, allocations: 29.66 kB / 0.5334 GB, free: 3.793 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.01573, allocations: 175.6 kB / 0.5335 GB, free: 3.609 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.144e-05/0.01582, allocations: 204.5 kB / 0.5337 GB, free: 3.395 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.01583, allocations: 29.64 kB / 0.5338 GB, free: 3.359 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.277e-05/0.01587, allocations: 141.6 kB / 0.5339 GB, free: 3.219 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.172e-06/0.01587, allocations: 0 / 0.5339 GB, free: 3.219 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.295e-05/0.01589, allocations: 23.38 kB / 0.5339 GB, free: 3.188 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 9.766e-05/0.01599, allocations: 0.4923 MB / 0.5344 GB, free: 2.684 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.016, allocations: 4 kB / 0.5344 GB, free: 2.68 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.136e-06/0.01601, allocations: 4.062 kB / 0.5344 GB, free: 2.676 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.361e-05/0.01604, allocations: 11.69 kB / 0.5344 GB, free: 2.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.01604, allocations: 7.656 kB / 0.5344 GB, free: 2.656 MB / 458.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.86e-05/0.01611, allocations: 49.58 kB / 0.5345 GB, free: 2.602 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/0.01611, allocations: 4 kB / 0.5345 GB, free: 2.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.01613, allocations: 4 kB / 0.5345 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.023e-06/0.01614, allocations: 0 / 0.5345 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.414e-06/0.01614, allocations: 0 / 0.5345 GB, free: 2.594 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.01614, allocations: 3.938 kB / 0.5345 GB, free: 2.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.083e-05/0.01615, allocations: 4 kB / 0.5345 GB, free: 2.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-06/0.01616, allocations: 0 / 0.5345 GB, free: 2.586 MB / 458.7 MB 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 7.354e-05/0.01623, allocations: 287.1 kB / 0.5348 GB, free: 2.297 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.863e-05/0.01627, allocations: 152.9 kB / 0.5349 GB, free: 2.141 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.003e-05/0.01631, allocations: 156.6 kB / 0.5351 GB, free: 1.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-05/0.01636, allocations: 264.1 kB / 0.5353 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.975e-05/0.01643, allocations: 268.1 kB / 0.5356 GB, free: 1.441 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-05/0.0165, allocations: 276 kB / 0.5358 GB, free: 1.164 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001415/0.01664, allocations: 492.5 kB / 0.5363 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/0.01667, allocations: 152.8 kB / 0.5364 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.01669, allocations: 144.9 kB / 0.5366 GB, free: 352 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.923e-05/0.01674, allocations: 269.5 kB / 0.5368 GB, free: 76 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/0.0168, allocations: 268.1 kB / 0.5371 GB, free: 15.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.754e-05/0.01685, allocations: 264.1 kB / 0.5373 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-05/0.0169, allocations: 272 kB / 0.5376 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.017, allocations: 461.2 kB / 0.538 GB, free: 14.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.01704, allocations: 152.8 kB / 0.5382 GB, free: 14.63 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.0171, allocations: 264.1 kB / 0.5384 GB, free: 14.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.331e-05/0.01715, allocations: 157.4 kB / 0.5386 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.243e-05/0.0172, allocations: 268.1 kB / 0.5389 GB, free: 13.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.01723, allocations: 149.4 kB / 0.539 GB, free: 13.79 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.262e-05/0.01728, allocations: 150.7 kB / 0.5391 GB, free: 13.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01728, allocations: 0 / 0.5391 GB, free: 13.64 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003998/0.01768, allocations: 298.9 kB / 0.5394 GB, free: 13.35 MB / 474.7 MB 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.000639/0.01831, allocations: 0.6315 MB / 0.54 GB, free: 12.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 6.406e-05/0.01838, allocations: 50.25 kB / 0.5401 GB, free: 12.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.062e-06/0.01838, allocations: 3.938 kB / 0.5401 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.01838, allocations: 5.219 kB / 0.5401 GB, free: 12.65 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.01866, allocations: 0.7032 MB / 0.5408 GB, free: 11.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002013/0.01886, allocations: 279.2 kB / 0.541 GB, free: 11.64 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.01889, allocations: 60.47 kB / 0.5411 GB, free: 11.56 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 9.628e-06/0.0189, allocations: 0 / 0.5411 GB, free: 11.56 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.683e-05/0.01894, allocations: 78.19 kB / 0.5412 GB, free: 11.48 MB / 474.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01895, allocations: 1.438 kB / 0.5412 GB, free: 11.48 MB / 474.7 MB Notification: Performance of Templates: time 0.007843/0.02679, allocations: 7.357 MB / 0.5484 GB, free: 4.309 MB / 474.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.615904584992677]