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.00111/0.00111, 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.001239/0.001239, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.849/0.849, allocations: 177.1 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.6959/0.6959, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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.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: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.522e-05/1.661e-05, allocations: 6.344 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.001742/0.001759, allocations: 1.276 MB / 0.6193 GB, free: 12.42 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.003031, allocations: 0.857 MB / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.629e-05/0.003058, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.864e-05/0.003096, allocations: 0 / 0.6202 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.000147/0.003243, allocations: 35.94 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007043/0.003948, allocations: 262.7 kB / 0.6205 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.173e-05/0.004019, allocations: 27.95 kB / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.143e-05/0.004071, allocations: 0 / 0.6205 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.731e-05/0.004128, allocations: 15.98 kB / 0.6205 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.004282, allocations: 71.84 kB / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.004294, allocations: 0 / 0.6206 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003547/0.004649, allocations: 287.5 kB / 0.6209 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.004698, allocations: 19.92 kB / 0.6209 GB, free: 10.85 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.001e-05/0.004718, allocations: 11.94 kB / 0.6209 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.005023, allocations: 287.2 kB / 0.6212 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.005026, allocations: 0 / 0.6212 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/0.005027, allocations: 0 / 0.6212 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005032, allocations: 0 / 0.6212 GB, free: 10.56 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003283/0.005361, allocations: 317.8 kB / 0.6215 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.00541, allocations: 9.469 kB / 0.6215 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.49e-05/0.005445, allocations: 34.75 kB / 0.6215 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.005474, allocations: 12.88 kB / 0.6215 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.95e-05/0.005563, allocations: 113.7 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.005574, allocations: 384 / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.005582, allocations: 4.375 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.005697, allocations: 58.19 kB / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.005706, allocations: 192 / 0.6217 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.005716, allocations: 4.125 kB / 0.6217 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-05/0.005747, allocations: 19.98 kB / 0.6217 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.223e-05/0.005779, allocations: 24 kB / 0.6217 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001783/0.005957, allocations: 152.6 kB / 0.6219 GB, free: 9.715 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.006012, allocations: 42.56 kB / 0.6219 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.35e-05/0.006045, allocations: 37.06 kB / 0.622 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.006053, allocations: 7.875 kB / 0.622 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.006073, allocations: 30.56 kB / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.006074, allocations: 0 / 0.622 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10): time 0.0001953/0.006269, allocations: 133.4 kB / 0.6221 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.431e-05/0.006304, allocations: 59.41 kB / 0.6222 GB, free: 9.371 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.126e-05/0.006385, allocations: 125.9 kB / 0.6223 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.006396, allocations: 29.7 kB / 0.6223 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.617e-05/0.006432, allocations: 92.12 kB / 0.6224 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.99e-05/0.006472, allocations: 23.75 kB / 0.6224 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.006502, allocations: 25.7 kB / 0.6225 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.006596, allocations: 314.8 kB / 0.6228 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.596e-05/0.006622, allocations: 27.98 kB / 0.6228 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.055e-05/0.006642, allocations: 27.98 kB / 0.6228 GB, free: 8.684 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.006705, allocations: 72.83 kB / 0.6229 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.006708, allocations: 0 / 0.6229 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=10) (initialization): time 8.338e-05/0.006791, allocations: 101.6 kB / 0.623 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.006807, allocations: 13.94 kB / 0.623 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.006813, allocations: 0 / 0.623 GB, free: 8.492 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.006831, allocations: 3.938 kB / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.302e-06/0.006832, allocations: 384 / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.006839, allocations: 0 / 0.623 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.334e-05/0.006853, allocations: 7.938 kB / 0.623 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.006864, allocations: 4 kB / 0.623 GB, free: 8.477 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: 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 7.401e-05/0.006938, allocations: 125.8 kB / 0.6231 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.22e-06/0.006943, allocations: 3.953 kB / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.006958, allocations: 8.438 kB / 0.6231 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.006974, allocations: 23.91 kB / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.006979, allocations: 0 / 0.6232 GB, free: 8.305 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.006981, allocations: 7.938 kB / 0.6232 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.007086, allocations: 152.7 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007087, allocations: 0 / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.1e-07/0.007087, allocations: 0 / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.41e-07/0.007088, allocations: 0 / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.007095, allocations: 3.938 kB / 0.6233 GB, free: 8.102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.007098, allocations: 7.938 kB / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007099, allocations: 0 / 0.6233 GB, free: 8.094 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001029/0.007202, allocations: 125 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.128e-05/0.007213, allocations: 15.97 kB / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.007223, allocations: 0 / 0.6235 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.883e-06/0.00723, allocations: 3.938 kB / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.615e-05/0.007246, allocations: 0 / 0.6235 GB, free: 7.934 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.00725, allocations: 4 kB / 0.6235 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.0073, allocations: 100.6 kB / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.0073, allocations: 0 / 0.6236 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002406/0.00754, allocations: 75.86 kB / 0.6236 GB, free: 7.758 MB / 0.5886 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.0004676/0.008008, allocations: 0.7392 MB / 0.6244 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001075/0.008115, allocations: 68 kB / 0.6244 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.008118, allocations: 0 / 0.6244 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.689e-05/0.008145, allocations: 31.98 kB / 0.6245 GB, free: 6.895 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000127/0.008272, allocations: 7.875 kB / 0.6245 GB, free: 6.887 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004409/0.008712, allocations: 251 kB / 0.6247 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.569e-05/0.008778, allocations: 79.33 kB / 0.6248 GB, free: 6.496 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.00881, allocations: 8.125 kB / 0.6248 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.716e-05/0.008847, allocations: 16.5 kB / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.008848, allocations: 0 / 0.6248 GB, free: 6.473 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01644/0.02528, allocations: 3.406 MB / 0.6281 GB, free: 3.285 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.774/6.799, allocations: 19.75 kB / 0.6281 GB, free: 3.277 MB / 0.5886 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.37881651520729] Failed to read output from testmodel.py, exit status != 0: 6.880394434556365 6.889195363 6.882447978 Calling exit ...