Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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.001601/0.001601, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.001472/0.001472, allocations: 168.2 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.417/1.417, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.188/1.188, allocations: 154.6 MB / 413.7 MB, free: 5.324 MB / 382.1 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 178] 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.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.6186 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.6e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.00245/0.002476, allocations: 1.274 MB / 0.6198 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004068, allocations: 0.8661 MB / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.00409, allocations: 0 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.996e-05/0.00412, allocations: 0 / 0.6207 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001156/0.004236, allocations: 31.89 kB / 0.6207 GB, free: 2.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.005141, allocations: 266.2 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.037e-05/0.005211, allocations: 27.91 kB / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.88e-05/0.00525, allocations: 0 / 0.621 GB, free: 2.133 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 5.083e-05/0.005301, allocations: 23.97 kB / 0.621 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.005444, allocations: 51.94 kB / 0.621 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.005456, allocations: 3.938 kB / 0.6211 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005268/0.005983, allocations: 299.4 kB / 0.6213 GB, free: 1.762 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.567e-05/0.006029, allocations: 16 kB / 0.6214 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.006049, allocations: 7.938 kB / 0.6214 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004476/0.006496, allocations: 287.3 kB / 0.6216 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.006499, allocations: 4 kB / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of FrontEnd: time 8.42e-07/0.0065, allocations: 0 / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.006509, allocations: 0 / 0.6216 GB, free: 1.453 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004225/0.006931, allocations: 317.7 kB / 0.6219 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.006966, allocations: 8.031 kB / 0.6219 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.007, allocations: 8.891 kB / 0.622 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.007118, allocations: 117.6 kB / 0.6221 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.007134, allocations: 8.312 kB / 0.6221 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.007144, allocations: 384 / 0.6221 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.007257, allocations: 58.25 kB / 0.6221 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.007264, allocations: 4.188 kB / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.007271, allocations: 384 / 0.6221 GB, free: 0.8828 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.26e-05/0.007304, allocations: 15.92 kB / 0.6222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.944e-05/0.007353, allocations: 31.98 kB / 0.6222 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002012/0.007555, allocations: 117.3 kB / 0.6223 GB, free: 0.6914 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 6.915e-05/0.007624, allocations: 46.59 kB / 0.6223 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.004e-05/0.007664, allocations: 36.88 kB / 0.6224 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-06/0.007668, allocations: 3.938 kB / 0.6224 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.007696, allocations: 30.56 kB / 0.6224 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.002e-06/0.007697, allocations: 0 / 0.6224 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0002111/0.007908, allocations: 125.7 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.37e-05/0.007951, allocations: 67.33 kB / 0.6226 GB, free: 356 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.008067, allocations: 125.8 kB / 0.6227 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.008083, allocations: 25.7 kB / 0.6227 GB, free: 188 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.008133, allocations: 92.12 kB / 0.6228 GB, free: 92 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.214e-05/0.008176, allocations: 35.69 kB / 0.6229 GB, free: 56 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.008214, allocations: 25.7 kB / 0.6229 GB, free: 24 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.008395, allocations: 314.8 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.008431, allocations: 27.98 kB / 0.6232 GB, free: 15.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.00846, allocations: 27.98 kB / 0.6232 GB, free: 15.65 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.239e-05/0.008543, allocations: 72.77 kB / 0.6233 GB, free: 15.58 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.008544, allocations: 4.031 kB / 0.6233 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001239/0.008668, allocations: 101.6 kB / 0.6234 GB, free: 15.47 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.008683, allocations: 4.375 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.008689, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.008701, allocations: 0 / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.008704, allocations: 3.984 kB / 0.6234 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.00871, allocations: 11.81 kB / 0.6234 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.267e-05/0.008733, allocations: 15.83 kB / 0.6234 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.008743, allocations: 0 / 0.6234 GB, free: 15.43 MB / 0.545 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: 1 * 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 9.099e-05/0.008834, allocations: 122.8 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.566e-06/0.008843, allocations: 4.031 kB / 0.6236 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.569e-05/0.008858, allocations: 8.438 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-05/0.008879, allocations: 11.98 kB / 0.6236 GB, free: 15.28 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.008885, allocations: 7.938 kB / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.008886, allocations: 0 / 0.6236 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.009022, allocations: 125.2 kB / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009023, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.91e-07/0.009023, allocations: 0 / 0.6237 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.009028, allocations: 4 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.29e-06/0.009033, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.009034, allocations: 0 / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.009035, allocations: 4 kB / 0.6237 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.009177, allocations: 128.9 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.009187, allocations: 3.953 kB / 0.6238 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.401e-05/0.009201, allocations: 8 kB / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.119e-05/0.009212, allocations: 0 / 0.6238 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.588e-05/0.009228, allocations: 7.984 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.804e-06/0.009236, allocations: 7.938 kB / 0.6239 GB, free: 14.94 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.714e-05/0.009303, allocations: 103.1 kB / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.009303, allocations: 0 / 0.624 GB, free: 14.84 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003091/0.009612, allocations: 71.8 kB / 0.624 GB, free: 14.77 MB / 0.545 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0004274/0.01004, allocations: 187.1 kB / 0.6242 GB, free: 14.58 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000119/0.01016, allocations: 63.91 kB / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01016, allocations: 0 / 0.6243 GB, free: 14.52 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.01019, allocations: 31.94 kB / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001386/0.01033, allocations: 0 / 0.6243 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000371/0.0107, allocations: 197.4 kB / 0.6245 GB, free: 14.26 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.375e-05/0.01078, allocations: 91.19 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.738e-05/0.01082, allocations: 8.125 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.56e-05/0.01085, allocations: 8.5 kB / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of SimCode: time 7.22e-07/0.01085, allocations: 0 / 0.6246 GB, free: 14.14 MB / 0.545 GB Notification: Performance of Templates: time 0.004429/0.01528, allocations: 1.437 MB / 0.626 GB, free: 12.75 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.575901594012976] Failed to read output from testmodel.py, exit status != 0: 0.02369687333703041 0.037770444 0.028370623 Calling exit ...