Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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/BuildSysPro 3.5.0/package.mo): time 0.7725/0.7725, allocations: 128.7 MB / 143.7 MB, free: 2.199 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001251/0.001251, allocations: 186.5 kB / 173.7 MB, free: 6.012 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.558/1.558, allocations: 205.4 MB / 409 MB, free: 10.48 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001081/0.001081, allocations: 105.3 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004397, allocations: 9.938 kB / 0.5605 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1638, allocations: 76.78 MB / 0.6355 GB, free: 30.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1673/0.3311, allocations: 102.7 MB / 0.7357 GB, free: 7.574 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004307/0.3316, allocations: 103.9 kB / 0.7358 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.002628/0.3343, allocations: 0.7014 MB / 0.7365 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3343, allocations: 0 / 0.7365 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.3343, allocations: 0 / 0.7365 GB, free: 6.77 MB / 0.5105 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.0003665/0.3347, allocations: 315.4 kB / 0.7368 GB, free: 6.414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.965e-05/0.3348, allocations: 8.031 kB / 0.7368 GB, free: 6.406 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/0.3349, allocations: 34.56 kB / 0.7368 GB, free: 6.363 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.234e-05/0.3349, allocations: 11.95 kB / 0.7369 GB, free: 6.352 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.3351, allocations: 163.1 kB / 0.737 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.3351, allocations: 0 / 0.737 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.918e-06/0.3351, allocations: 0 / 0.737 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/0.3352, allocations: 29.64 kB / 0.737 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3353, allocations: 4 kB / 0.737 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3353, allocations: 0 / 0.737 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3353, allocations: 0 / 0.737 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.197e-05/0.3353, allocations: 3.953 kB / 0.737 GB, free: 6.109 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000415/0.3358, allocations: 387.5 kB / 0.7374 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.3359, allocations: 173 kB / 0.7376 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.336, allocations: 75.28 kB / 0.7377 GB, free: 5.426 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/0.336, allocations: 108 kB / 0.7378 GB, free: 5.312 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.336, allocations: 4 kB / 0.7378 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001043/0.3361, allocations: 33.69 kB / 0.7378 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.3362, allocations: 130.7 kB / 0.7379 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.647e-05/0.3363, allocations: 85 kB / 0.738 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.3364, allocations: 25.7 kB / 0.738 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.58e-05/0.3364, allocations: 80.14 kB / 0.7381 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-06/0.3364, allocations: 0 / 0.7381 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.3365, allocations: 128 / 0.7381 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3366, allocations: 322.8 kB / 0.7384 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.509e-05/0.3367, allocations: 7.875 kB / 0.7384 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.544e-06/0.3367, allocations: 0 / 0.7384 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.3367, allocations: 0 / 0.7384 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3367, allocations: 0 / 0.7384 GB, free: 4.594 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001391/0.3369, allocations: 37.7 kB / 0.7384 GB, free: 4.551 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.3369, allocations: 5.25 kB / 0.7385 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3369, allocations: 0 / 0.7385 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.337, allocations: 4.094 kB / 0.7385 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.561e-05/0.337, allocations: 4 kB / 0.7385 GB, free: 4.539 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.3371, allocations: 3.953 kB / 0.7385 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.083e-05/0.3371, allocations: 3.906 kB / 0.7385 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.816e-06/0.3371, allocations: 0 / 0.7385 GB, free: 4.531 MB / 0.5105 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 () * Number of clocked 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.0001309/0.3372, allocations: 188.9 kB / 0.7387 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.305e-05/0.3373, allocations: 108.9 kB / 0.7388 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.325e-05/0.3374, allocations: 104.1 kB / 0.7389 GB, free: 4.113 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.211e-05/0.3375, allocations: 184.2 kB / 0.739 GB, free: 3.926 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.352e-05/0.3376, allocations: 180.3 kB / 0.7392 GB, free: 3.742 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.596e-05/0.3377, allocations: 188.2 kB / 0.7394 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003029/0.338, allocations: 397.2 kB / 0.7398 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-05/0.3381, allocations: 108.9 kB / 0.7399 GB, free: 2.992 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.3381, allocations: 112.9 kB / 0.74 GB, free: 2.875 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.974e-05/0.3382, allocations: 190 kB / 0.7402 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/0.3383, allocations: 176.3 kB / 0.7403 GB, free: 2.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.728e-05/0.3384, allocations: 180.2 kB / 0.7405 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.848e-05/0.3384, allocations: 176.3 kB / 0.7407 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.3386, allocations: 315.7 kB / 0.741 GB, free: 1.809 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 7.994e-05/0.3387, allocations: 182.1 kB / 0.7411 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.971e-05/0.3388, allocations: 180.2 kB / 0.7413 GB, free: 1.422 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.3389, allocations: 101 kB / 0.7414 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.339, allocations: 184.2 kB / 0.7416 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.53e-05/0.3391, allocations: 113 kB / 0.7417 GB, free: 1.012 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.861e-05/0.3391, allocations: 75.28 kB / 0.7418 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3391, allocations: 0 / 0.7418 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003583/0.3395, allocations: 0 / 0.7418 GB, free: 0.9375 MB / 0.5105 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 (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.0005052/0.34, allocations: 0.8166 MB / 0.7426 GB, free: 92 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.351e-05/0.3401, allocations: 4 kB / 0.7426 GB, free: 88 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3401, allocations: 0 / 0.7426 GB, free: 88 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.3401, allocations: 368 / 0.7426 GB, free: 88 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2713/0.6114, allocations: 0.5157 MB / 0.7431 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.6118, allocations: 184.5 kB / 0.7432 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.446e-05/0.612, allocations: 0.6772 MB / 0.7439 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.195e-05/0.612, allocations: 0.7188 kB / 0.7439 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.824e-05/0.612, allocations: 8.25 kB / 0.7439 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/0.612, allocations: 0.6875 kB / 0.7439 GB, free: 109.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009846/0.6219, allocations: 0.7583 MB / 0.7447 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.622, allocations: 262.9 kB / 0.7449 GB, free: 109 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.455/2.077, allocations: 0 / 0.7449 GB, free: 109 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_CountAggregationCells.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)