Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.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.001033/0.001033, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001194/0.001194, allocations: 208.1 kB / 22.25 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.9063/0.9063, allocations: 230.6 MB / 256 MB, free: 9.594 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.7686/0.7686, allocations: 203.8 MB / 0.5042 GB, free: 10.43 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.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes",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.001324/0.001324, allocations: 65.83 kB / 0.7182 GB, free: 3.977 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4924/0.4938, allocations: 102 MB / 0.8178 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00181/0.4956, allocations: 1.304 MB / 0.8191 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007208/0.4963, allocations: 454.2 kB / 0.8195 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.4963, allocations: 5.969 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.011e-05/0.4964, allocations: 0.7031 kB / 0.8195 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.516e-05/0.4965, allocations: 7.016 kB / 0.8196 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002685/0.4967, allocations: 37.83 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.106e-05/0.4968, allocations: 19.56 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4969, allocations: 5.016 kB / 0.8196 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.09e-05/0.4969, allocations: 16.52 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.342e-05/0.497, allocations: 9.734 kB / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.497, allocations: 0 / 0.8196 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.4971, allocations: 38.53 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.8e-05/0.4971, allocations: 11.97 kB / 0.8197 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.796e-05/0.4972, allocations: 23 kB / 0.8197 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.4973, allocations: 61.06 kB / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4973, allocations: 0 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4973, allocations: 0 / 0.8198 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4973, allocations: 0 / 0.8198 GB, free: 15.75 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003237/0.4976, allocations: 285.2 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.4977, allocations: 10.31 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.4977, allocations: 31.31 kB / 0.8201 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.602e-05/0.4977, allocations: 9.5 kB / 0.8201 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.4978, allocations: 120.8 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.977e-06/0.4979, allocations: 384 / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.4979, allocations: 8.719 kB / 0.8202 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.943e-05/0.498, allocations: 50.27 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.498, allocations: 4.594 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.753e-06/0.498, allocations: 0 / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.498, allocations: 0 / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.905e-05/0.498, allocations: 4.328 kB / 0.8203 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001459/0.4982, allocations: 144.5 kB / 0.8204 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.936e-05/0.4982, allocations: 46.27 kB / 0.8205 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.4982, allocations: 17.47 kB / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.4982, allocations: 6.562 kB / 0.8205 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.4983, allocations: 37.61 kB / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.11e-07/0.4983, allocations: 0 / 0.8205 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001281/0.4984, allocations: 53.62 kB / 0.8206 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.4984, allocations: 77.72 kB / 0.8206 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.153e-05/0.4985, allocations: 141.6 kB / 0.8208 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.4985, allocations: 26.92 kB / 0.8208 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.4986, allocations: 82.86 kB / 0.8209 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.4986, allocations: 10.3 kB / 0.8209 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.4986, allocations: 26.11 kB / 0.8209 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.4987, allocations: 319.5 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.4987, allocations: 29.83 kB / 0.8212 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.4988, allocations: 24.7 kB / 0.8213 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.656e-05/0.4988, allocations: 52.94 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.4988, allocations: 2.906 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 9.698e-05/0.4989, allocations: 99.28 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.4989, allocations: 5.609 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.4989, allocations: 1.094 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.499, allocations: 2.172 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.159e-05/0.499, allocations: 4.438 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.499, allocations: 4.516 kB / 0.8214 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.499, allocations: 7.891 kB / 0.8214 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.341e-06/0.499, allocations: 2.719 kB / 0.8214 GB, free: 14.11 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 (3): * Single equations (assignments): 2 * 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 6.254e-05/0.4991, allocations: 115.9 kB / 0.8216 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-06/0.4991, allocations: 14.41 kB / 0.8216 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.531e-05/0.4991, allocations: 14.88 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4991, allocations: 0 / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4991, allocations: 0.7031 kB / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.4991, allocations: 0 / 0.8216 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.395e-05/0.4992, allocations: 129.5 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.4992, allocations: 0 / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.356e-05/0.4992, allocations: 12.14 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4993, allocations: 3.922 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.4993, allocations: 0 / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4993, allocations: 0.6562 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4993, allocations: 4 kB / 0.8217 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.13e-05/0.4993, allocations: 73.55 kB / 0.8218 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-06/0.4993, allocations: 10 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.908e-06/0.4994, allocations: 1.859 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-06/0.4994, allocations: 1.094 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.465e-05/0.4994, allocations: 6.453 kB / 0.8218 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.095e-06/0.4994, allocations: 5.562 kB / 0.8218 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.994e-05/0.4994, allocations: 99.81 kB / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4994, allocations: 0 / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001542/0.4996, allocations: 19.06 kB / 0.8219 GB, free: 13.62 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.00032/0.4999, allocations: 0.6378 MB / 0.8226 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000127/0.5, allocations: 76.91 kB / 0.8226 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.5, allocations: 1.688 kB / 0.8226 GB, free: 12.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.683e-06/0.5, allocations: 8.375 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.5002, allocations: 8.578 kB / 0.8226 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008649/0.501, allocations: 1.3 MB / 0.8239 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.5011, allocations: 74.64 kB / 0.824 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.085e-05/0.5011, allocations: 0 / 0.824 GB, free: 11.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.135e-05/0.5011, allocations: 14.34 kB / 0.824 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.5011, allocations: 0 / 0.824 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01615/0.5173, allocations: 2.158 MB / 0.8261 GB, free: 10.88 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.618/7.135, allocations: 14.98 kB / 0.8261 GB, free: 10.87 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationCellTimes.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.910533116199076] Failed to read output from testmodel.py, exit status != 0: 7.216074704192579 7.228229407 6.728937082 Calling exit ...