Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7451/0.7451, allocations: 133.6 MB / 141.6 MB, free: 2.906 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 221.5 MB / 395.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008983/0.0008985, allocations: 102.6 kB / 478.2 MB, free: 1.305 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.865e-05/2.867e-05, allocations: 8 kB / 0.5536 GB, free: 8.922 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4613, allocations: 82.31 MB / 0.634 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1551/0.6165, allocations: 110.6 MB / 0.742 GB, free: 12.02 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003337/0.6169, allocations: 103.9 kB / 0.7421 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001791/0.6187, allocations: 0.6896 MB / 0.7428 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6187, allocations: 3.938 kB / 0.7428 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.6187, allocations: 0 / 0.7428 GB, free: 11.23 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002475/0.619, allocations: 322.5 kB / 0.7431 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.619, allocations: 8.031 kB / 0.7431 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.856e-05/0.6191, allocations: 3.984 kB / 0.7431 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.6192, allocations: 163 kB / 0.7433 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.6192, allocations: 4 kB / 0.7433 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.538e-06/0.6192, allocations: 0 / 0.7433 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.427e-05/0.6193, allocations: 0 / 0.7433 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.079e-05/0.6193, allocations: 25.7 kB / 0.7433 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.6193, allocations: 4 kB / 0.7433 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.6194, allocations: 0 / 0.7433 GB, free: 10.62 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.6194, allocations: 4 kB / 0.7433 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003022/0.6197, allocations: 367.9 kB / 0.7437 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 8.685e-05/0.6198, allocations: 173.1 kB / 0.7438 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.594e-05/0.6198, allocations: 80.17 kB / 0.7439 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/0.6199, allocations: 83.28 kB / 0.744 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/0.6199, allocations: 109.8 kB / 0.7441 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6199, allocations: 0 / 0.7441 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 6.638e-05/0.62, allocations: 29.64 kB / 0.7441 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.62, allocations: 51.41 kB / 0.7442 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.799e-05/0.6201, allocations: 89 kB / 0.7442 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.6201, allocations: 29.83 kB / 0.7443 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.6202, allocations: 88.05 kB / 0.7444 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.472e-06/0.6202, allocations: 0 / 0.7444 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.6202, allocations: 0 / 0.7444 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6203, allocations: 318.8 kB / 0.7447 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.901e-06/0.6203, allocations: 0 / 0.7447 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.638e-06/0.6203, allocations: 4 kB / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.315e-05/0.6204, allocations: 0 / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6204, allocations: 64 / 0.7447 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.507e-05/0.6205, allocations: 33.7 kB / 0.7447 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.6205, allocations: 5.875 kB / 0.7447 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.6205, allocations: 0 / 0.7447 GB, free: 9.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6205, allocations: 4 kB / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.136e-05/0.6206, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.6206, allocations: 0 / 0.7447 GB, free: 9.066 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.018e-05/0.6206, allocations: 3.938 kB / 0.7447 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.6206, allocations: 0 / 0.7447 GB, free: 9.062 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001072/0.6207, allocations: 192.2 kB / 0.7449 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.133e-05/0.6208, allocations: 126.7 kB / 0.745 GB, free: 8.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/0.6209, allocations: 112.9 kB / 0.7451 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.534e-05/0.6209, allocations: 104.7 kB / 0.7452 GB, free: 8.508 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-05/0.621, allocations: 180.2 kB / 0.7454 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.827e-05/0.6211, allocations: 184.1 kB / 0.7456 GB, free: 8.137 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.497e-05/0.6212, allocations: 180.3 kB / 0.7457 GB, free: 7.953 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.6214, allocations: 381.8 kB / 0.7461 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.844e-05/0.6215, allocations: 109.4 kB / 0.7462 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.344e-05/0.6215, allocations: 101 kB / 0.7463 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.566e-05/0.6216, allocations: 184.3 kB / 0.7465 GB, free: 7.129 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/0.6217, allocations: 184.2 kB / 0.7467 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.643e-05/0.6218, allocations: 180.3 kB / 0.7468 GB, free: 6.758 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.894e-05/0.6219, allocations: 176.3 kB / 0.747 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001883/0.6221, allocations: 307.7 kB / 0.7473 GB, free: 6.254 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.6222, allocations: 182.1 kB / 0.7475 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.6224, allocations: 192.2 kB / 0.7476 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.6225, allocations: 101 kB / 0.7477 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.436e-05/0.6226, allocations: 177.2 kB / 0.7479 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/0.6226, allocations: 104.9 kB / 0.748 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.914e-05/0.6227, allocations: 79.22 kB / 0.7481 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6227, allocations: 0 / 0.7481 GB, free: 5.383 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002645/0.6229, allocations: 4 kB / 0.7481 GB, free: 5.379 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005524/0.6235, allocations: 0.8142 MB / 0.7489 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 6.305e-05/0.6236, allocations: 0 / 0.7489 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.6236, allocations: 0 / 0.7489 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.539e-06/0.6236, allocations: 3.938 kB / 0.7489 GB, free: 4.531 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.624, allocations: 0.5233 MB / 0.7494 GB, free: 4.004 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.6244, allocations: 149 kB / 0.7495 GB, free: 3.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.6248, allocations: 0.6729 MB / 0.7502 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.635e-05/0.6248, allocations: 0 / 0.7502 GB, free: 3.121 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.609e-05/0.6248, allocations: 7.438 kB / 0.7502 GB, free: 3.113 MB / 0.5261 GB Notification: Performance of SimCode: time 1.864e-06/0.6248, allocations: 4 kB / 0.7502 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.6457, allocations: 450.3 kB / 0.7506 GB, free: 2.703 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003006/0.6461, allocations: 203.4 kB / 0.7508 GB, free: 2.438 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.418/2.064, allocations: 0.7812 kB / 0.7508 GB, free: 2.438 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)