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.001116/0.001116, allocations: 105.9 kB / 18.93 MB, free: 1.27 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.001247/0.001247, allocations: 218.2 kB / 22.25 MB, free: 3.703 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.8964/0.8964, allocations: 230.6 MB / 256 MB, free: 9.801 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.7818/0.7818, allocations: 203.8 MB / 0.5042 GB, free: 10.7 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.002742/0.002742, allocations: 70.89 kB / 0.7183 GB, free: 4.246 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4715/0.4742, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.00164/0.4759, allocations: 1.311 MB / 0.8192 GB, free: 328 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005827/0.4765, allocations: 493.7 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.4765, allocations: 3.656 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.486e-05/0.4766, allocations: 1.266 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.4766, allocations: 9.891 kB / 0.8197 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002477/0.4769, allocations: 35.59 kB / 0.8197 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.703e-05/0.4769, allocations: 26.84 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.72e-05/0.477, allocations: 1.781 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.477, allocations: 12.08 kB / 0.8197 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.4771, allocations: 19.86 kB / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.4771, allocations: 0 / 0.8198 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001163/0.4772, allocations: 51.88 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.384e-05/0.4772, allocations: 12.34 kB / 0.8198 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.4773, allocations: 20.48 kB / 0.8198 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001232/0.4774, allocations: 53.77 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4774, allocations: 0.75 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4774, allocations: 3.938 kB / 0.8199 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4774, allocations: 0 / 0.8199 GB, free: 15.89 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.0003067/0.4777, allocations: 285 kB / 0.8202 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.4778, allocations: 12.88 kB / 0.8202 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.448e-05/0.4778, allocations: 31.45 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.358e-05/0.4778, allocations: 6.266 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4779, allocations: 115.1 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.4779, allocations: 4.375 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.458e-06/0.4779, allocations: 1.031 kB / 0.8203 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.815e-05/0.478, allocations: 52.36 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.478, allocations: 0 / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.133e-06/0.478, allocations: 4.703 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.478, allocations: 0 / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.4781, allocations: 5.469 kB / 0.8204 GB, free: 15.37 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.4782, allocations: 141.9 kB / 0.8205 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.188e-05/0.4782, allocations: 45.36 kB / 0.8206 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.801e-05/0.4782, allocations: 19.58 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.727e-06/0.4783, allocations: 1.312 kB / 0.8206 GB, free: 15.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/0.4783, allocations: 35.34 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 7.12e-07/0.4783, allocations: 3.344 kB / 0.8206 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001172/0.4784, allocations: 51.06 kB / 0.8207 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4784, allocations: 80.09 kB / 0.8208 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.423e-05/0.4785, allocations: 148.1 kB / 0.8209 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.178e-06/0.4785, allocations: 25.7 kB / 0.8209 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.831e-05/0.4786, allocations: 84.11 kB / 0.821 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.4786, allocations: 8.656 kB / 0.821 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.033e-05/0.4786, allocations: 26.58 kB / 0.821 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.56e-05/0.4787, allocations: 318.3 kB / 0.8213 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.748e-05/0.4787, allocations: 25.28 kB / 0.8214 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.237e-05/0.4787, allocations: 25.55 kB / 0.8214 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.831e-05/0.4788, allocations: 58.61 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4788, allocations: 3.938 kB / 0.8214 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 8.849e-05/0.4789, allocations: 97.72 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.4789, allocations: 5.625 kB / 0.8215 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/0.4789, allocations: 5.188 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4789, allocations: 0.6562 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.479, allocations: 6.688 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.411e-06/0.479, allocations: 1.984 kB / 0.8216 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.003e-05/0.479, allocations: 9.234 kB / 0.8216 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.479, allocations: 2.188 kB / 0.8216 GB, free: 14.25 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 5.408e-05/0.479, allocations: 116.4 kB / 0.8217 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.4791, allocations: 11.48 kB / 0.8217 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.043e-05/0.4791, allocations: 12.12 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.4791, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.872e-06/0.4791, allocations: 7.5 kB / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.4791, allocations: 0 / 0.8217 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.045e-05/0.4792, allocations: 128.5 kB / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.4792, allocations: 0.5156 kB / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.235e-05/0.4792, allocations: 8.141 kB / 0.8218 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.634e-06/0.4792, allocations: 4 kB / 0.8218 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.4792, allocations: 2.906 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.4792, allocations: 0.5625 kB / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4792, allocations: 0 / 0.8219 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.122e-05/0.4792, allocations: 72.11 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.187e-06/0.4792, allocations: 13.11 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.318e-06/0.4793, allocations: 0.75 kB / 0.8219 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.4793, allocations: 8.031 kB / 0.8219 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.4793, allocations: 2.953 kB / 0.8219 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.4793, allocations: 0 / 0.8219 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.783e-05/0.4793, allocations: 101.7 kB / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4793, allocations: 0 / 0.822 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001499/0.4795, allocations: 20.38 kB / 0.8221 GB, free: 13.77 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.0002941/0.4798, allocations: 0.6334 MB / 0.8227 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4799, allocations: 72.81 kB / 0.8227 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4799, allocations: 0 / 0.8227 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 9.017e-06/0.4799, allocations: 9 kB / 0.8228 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001172/0.48, allocations: 11.94 kB / 0.8228 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.4808, allocations: 1.305 MB / 0.824 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001716/0.481, allocations: 0.6855 MB / 0.8247 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.06e-05/0.481, allocations: 3.719 kB / 0.8247 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.92e-05/0.4811, allocations: 12.61 kB / 0.8247 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.4811, allocations: 3.938 kB / 0.8247 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.4979, allocations: 1.783 MB / 0.8265 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.578/7.076, allocations: 5.781 kB / 0.8265 GB, free: 10.79 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.850013426039368] Failed to read output from testmodel.py, exit status != 0: 7.1559651650022715 7.166489568 6.68714775 Calling exit ...