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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004812/0.004812, allocations: 100.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 186.9 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.00135, allocations: 71.89 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4158, allocations: 80.91 MB / 0.6642 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationCellTimes): time 0.001952/0.4178, allocations: 1.292 MB / 0.6655 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0006487/0.4184, allocations: 442.7 kB / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.4185, allocations: 0 / 0.6659 GB, free: 5.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.324e-05/0.4186, allocations: 7.922 kB / 0.6659 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.01e-05/0.4186, allocations: 6.188 kB / 0.6659 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.4189, allocations: 30.34 kB / 0.6659 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.664e-05/0.419, allocations: 28.09 kB / 0.6659 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.419, allocations: 1.25 kB / 0.666 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.001e-05/0.419, allocations: 17.11 kB / 0.666 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.4191, allocations: 10.7 kB / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.298e-06/0.4191, allocations: 0 / 0.666 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.4192, allocations: 41.58 kB / 0.666 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.4193, allocations: 18.64 kB / 0.666 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.4193, allocations: 11.53 kB / 0.666 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.4195, allocations: 62.75 kB / 0.6661 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.4195, allocations: 0 / 0.6661 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.272e-06/0.4195, allocations: 7.875 kB / 0.6661 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.4195, allocations: 1.312 kB / 0.6661 GB, free: 5.785 MB / 0.4981 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.0002831/0.4198, allocations: 347.2 kB / 0.6664 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.4198, allocations: 13.58 kB / 0.6665 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.641e-05/0.4199, allocations: 30.75 kB / 0.6665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.561e-05/0.4199, allocations: 7.094 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.42, allocations: 171.9 kB / 0.6667 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.42, allocations: 5.438 kB / 0.6667 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.42, allocations: 5.156 kB / 0.6667 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.307e-05/0.4201, allocations: 44 kB / 0.6667 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.4201, allocations: 3.984 kB / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.4201, allocations: 0 / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.4201, allocations: 1.312 kB / 0.6667 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.126e-05/0.4202, allocations: 7.875 kB / 0.6667 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000125/0.4203, allocations: 177.9 kB / 0.6669 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.4203, allocations: 45.44 kB / 0.6669 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.908e-05/0.4204, allocations: 17.53 kB / 0.667 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.4204, allocations: 0 / 0.667 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.4204, allocations: 43.77 kB / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4204, allocations: 0 / 0.667 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.000135/0.4206, allocations: 53.91 kB / 0.667 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.4206, allocations: 78.58 kB / 0.6671 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.112e-05/0.4207, allocations: 143.3 kB / 0.6673 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.492e-06/0.4207, allocations: 26.92 kB / 0.6673 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.127e-05/0.4207, allocations: 85.42 kB / 0.6674 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.739e-05/0.4207, allocations: 12.95 kB / 0.6674 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.4208, allocations: 27 kB / 0.6674 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.118e-05/0.4208, allocations: 321.9 kB / 0.6677 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.048e-05/0.4209, allocations: 23.73 kB / 0.6677 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.4209, allocations: 20.31 kB / 0.6678 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.953e-05/0.421, allocations: 49.59 kB / 0.6678 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.421, allocations: 3.938 kB / 0.6678 GB, free: 3.973 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001164/0.4211, allocations: 99.33 kB / 0.6679 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.4211, allocations: 4.219 kB / 0.6679 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.4211, allocations: 1.125 kB / 0.6679 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.4212, allocations: 5.031 kB / 0.6679 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.727e-05/0.4212, allocations: 6.641 kB / 0.6679 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.4212, allocations: 0 / 0.6679 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.4213, allocations: 6.188 kB / 0.6679 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.4213, allocations: 1.125 kB / 0.6679 GB, free: 3.902 MB / 0.4981 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.187e-05/0.4213, allocations: 120.8 kB / 0.668 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.658e-06/0.4213, allocations: 1.188 kB / 0.668 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.085e-05/0.4214, allocations: 17.02 kB / 0.6681 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.4214, allocations: 3.938 kB / 0.6681 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.4214, allocations: 5.156 kB / 0.6681 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.4214, allocations: 0 / 0.6681 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.179e-05/0.4215, allocations: 165.5 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4215, allocations: 1 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.4215, allocations: 2.719 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.4215, allocations: 1.281 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.603e-06/0.4215, allocations: 0 / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4215, allocations: 1.125 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.4215, allocations: 1.062 kB / 0.6682 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.106e-05/0.4216, allocations: 80.17 kB / 0.6683 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.4216, allocations: 87.61 kB / 0.6684 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.4216, allocations: 5.078 kB / 0.6684 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.723e-05/0.4217, allocations: 4 kB / 0.6684 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.151e-05/0.4217, allocations: 5.5 kB / 0.6684 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.4217, allocations: 1.375 kB / 0.6684 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.12e-05/0.4217, allocations: 98.86 kB / 0.6685 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4217, allocations: 4 kB / 0.6685 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002109/0.4219, allocations: 15.94 kB / 0.6685 GB, free: 3.266 MB / 0.4981 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.0002915/0.4222, allocations: 0.626 MB / 0.6691 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.4224, allocations: 92.05 kB / 0.6692 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4224, allocations: 0 / 0.6692 GB, free: 2.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.268e-05/0.4224, allocations: 8.5 kB / 0.6692 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001463/0.4226, allocations: 1.281 kB / 0.6692 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/0.4235, allocations: 1.319 MB / 0.6705 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.4236, allocations: 0.6866 MB / 0.6712 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.246e-05/0.4236, allocations: 5.531 kB / 0.6712 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.798e-05/0.4236, allocations: 12.75 kB / 0.6712 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of SimCode: time 8.42e-07/0.4236, allocations: 0 / 0.6712 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0194/0.4431, allocations: 1.715 MB / 0.6729 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/8.001, allocations: 13.19 kB / 0.6729 GB, free: 15.78 MB / 0.5137 GB (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 --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)