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.001258/0.001258, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001498/0.001498, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9017/0.9017, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.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.7507/0.7507, allocations: 203.8 MB / 0.5042 GB, free: 10.44 MB / 410.7 MB " [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.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009004/0.0009004, allocations: 71.3 kB / 0.7182 GB, free: 3.996 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4829/0.4838, allocations: 102 MB / 0.8178 GB, free: 1.035 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001778/0.4856, allocations: 1.281 MB / 0.8191 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.4868, allocations: 0.8686 MB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.578e-05/0.4869, allocations: 0 / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.4869, allocations: 0.9375 kB / 0.8199 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001163/0.487, allocations: 30.61 kB / 0.82 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007072/0.4877, allocations: 266.9 kB / 0.8202 GB, free: 15.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.64e-05/0.4878, allocations: 29.03 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.4878, allocations: 0.5625 kB / 0.8202 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.384e-05/0.4879, allocations: 15.48 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.488, allocations: 57.72 kB / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.488, allocations: 0 / 0.8203 GB, free: 15.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.4884, allocations: 300.8 kB / 0.8206 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.576e-05/0.4884, allocations: 21.64 kB / 0.8206 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.4885, allocations: 11.66 kB / 0.8206 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.4888, allocations: 241.4 kB / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4888, allocations: 0 / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.4888, allocations: 0.7969 kB / 0.8209 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.4888, allocations: 0 / 0.8209 GB, free: 15.34 MB / 0.6198 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.0003179/0.4891, allocations: 318.8 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.4891, allocations: 10.97 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.776e-05/0.4891, allocations: 38.45 kB / 0.8212 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.4892, allocations: 7.234 kB / 0.8212 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.532e-05/0.4892, allocations: 119.7 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.4893, allocations: 384 / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.603e-06/0.4893, allocations: 1.625 kB / 0.8213 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.93e-05/0.4894, allocations: 67.25 kB / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.882e-06/0.4894, allocations: 0 / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.362e-06/0.4894, allocations: 0 / 0.8214 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.4894, allocations: 17.02 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.696e-05/0.4894, allocations: 24.03 kB / 0.8214 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.4896, allocations: 140.2 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.377e-05/0.4896, allocations: 47.52 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.4897, allocations: 32.03 kB / 0.8217 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.4897, allocations: 9.188 kB / 0.8217 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.4897, allocations: 36.38 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 7.11e-07/0.4897, allocations: 0 / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0001762/0.4899, allocations: 133.8 kB / 0.8218 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.4899, allocations: 52.11 kB / 0.8219 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.224e-05/0.49, allocations: 125.9 kB / 0.822 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.49, allocations: 25.7 kB / 0.822 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.49, allocations: 92.06 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.49, allocations: 35.3 kB / 0.8221 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.4901, allocations: 19.47 kB / 0.8222 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.4901, allocations: 325 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.818e-05/0.4902, allocations: 24.08 kB / 0.8225 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.252e-05/0.4902, allocations: 28.02 kB / 0.8225 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.791e-05/0.4903, allocations: 77.88 kB / 0.8226 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4903, allocations: 0 / 0.8226 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.03e-05/0.4903, allocations: 102.3 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.4904, allocations: 5.703 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4904, allocations: 4 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.108e-05/0.4904, allocations: 1.438 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.4904, allocations: 0.6562 kB / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.4904, allocations: 64 / 0.8227 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.4904, allocations: 9.125 kB / 0.8227 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.4904, allocations: 2.984 kB / 0.8227 GB, free: 13.76 MB / 0.6198 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 5.96e-05/0.4905, allocations: 123.9 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.213e-06/0.4905, allocations: 10.58 kB / 0.8228 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.198e-05/0.4905, allocations: 7.906 kB / 0.8228 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.4905, allocations: 13.16 kB / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4905, allocations: 0 / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4905, allocations: 1.281 kB / 0.8229 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.713e-05/0.4906, allocations: 147.6 kB / 0.823 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.4906, allocations: 1.125 kB / 0.823 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-06/0.4906, allocations: 7.938 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.4906, allocations: 1.344 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4906, allocations: 3.938 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.4906, allocations: 1.438 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.4906, allocations: 0.75 kB / 0.823 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.68e-05/0.4907, allocations: 129.4 kB / 0.8231 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.216e-06/0.4907, allocations: 10.55 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.4907, allocations: 1.031 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.452e-06/0.4907, allocations: 1.469 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.104e-05/0.4907, allocations: 1.031 kB / 0.8232 GB, free: 13.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.4907, allocations: 6.438 kB / 0.8232 GB, free: 13.36 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.093e-05/0.4908, allocations: 108.4 kB / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4908, allocations: 0 / 0.8233 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002233/0.491, allocations: 72.02 kB / 0.8233 GB, free: 13.27 MB / 0.6198 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.0003993/0.4914, allocations: 0.7325 MB / 0.8241 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.752e-05/0.4915, allocations: 59.94 kB / 0.8241 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4915, allocations: 0 / 0.8241 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-05/0.4915, allocations: 29.23 kB / 0.8241 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001106/0.4916, allocations: 6.375 kB / 0.8241 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003498/0.492, allocations: 255 kB / 0.8244 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.277e-05/0.492, allocations: 83.69 kB / 0.8245 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.492, allocations: 7.375 kB / 0.8245 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.36e-05/0.4921, allocations: 23.27 kB / 0.8245 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.4921, allocations: 0 / 0.8245 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01528/0.5074, allocations: 3.253 MB / 0.8277 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.408/6.916, allocations: 10.41 kB / 0.8277 GB, free: 11.44 MB / 0.6198 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.706418179906905] Failed to read output from testmodel.py, exit status != 0: 6.992342292331159 7.009279879 6.517606967 Calling exit ...