Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors",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.008694/0.008694, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.002076/0.002076, allocations: 197.3 kB / 16.68 MB, free: 5.965 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.387/1.387, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8056/0.8056, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001869/0.00187, allocations: 68.77 kB / 0.5809 GB, free: 24.05 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.154, allocations: 80.21 MB / 0.6592 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors): time 0.002391/0.1564, allocations: 1.238 MB / 0.6604 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1579, allocations: 0.8898 MB / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.489e-05/0.1579, allocations: 0 / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.912e-05/0.158, allocations: 0 / 0.6613 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.1581, allocations: 27.95 kB / 0.6613 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.1589, allocations: 243.4 kB / 0.6616 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.026e-05/0.159, allocations: 35.95 kB / 0.6616 GB, free: 8.293 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.1591, allocations: 4 kB / 0.6616 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.068e-05/0.1591, allocations: 19.97 kB / 0.6616 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001467/0.1593, allocations: 39.95 kB / 0.6617 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1593, allocations: 4 kB / 0.6617 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005138/0.1598, allocations: 287.5 kB / 0.6619 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.1599, allocations: 15.92 kB / 0.662 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.773e-05/0.1599, allocations: 15.88 kB / 0.662 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.1603, allocations: 239.6 kB / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1603, allocations: 0 / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.503e-06/0.1603, allocations: 0 / 0.6622 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1603, allocations: 0 / 0.6622 GB, free: 7.68 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004663/0.1608, allocations: 394.8 kB / 0.6626 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.1608, allocations: 8.031 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.1609, allocations: 38.75 kB / 0.6626 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.715e-05/0.1609, allocations: 4.891 kB / 0.6626 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.1611, allocations: 181.1 kB / 0.6628 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1611, allocations: 8.125 kB / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1611, allocations: 0 / 0.6628 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.1612, allocations: 61.62 kB / 0.6629 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.1613, allocations: 3.938 kB / 0.6629 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.954e-06/0.1613, allocations: 0 / 0.6629 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.881e-05/0.1613, allocations: 15.98 kB / 0.6629 GB, free: 6.879 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.027e-05/0.1614, allocations: 24 kB / 0.6629 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002298/0.1616, allocations: 177.6 kB / 0.6631 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.1617, allocations: 54.5 kB / 0.6631 GB, free: 6.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.607e-05/0.1617, allocations: 45 kB / 0.6632 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.1618, allocations: 0 / 0.6632 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.1618, allocations: 30.56 kB / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 8.12e-07/0.1618, allocations: 0 / 0.6632 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0002334/0.162, allocations: 137.6 kB / 0.6633 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.1621, allocations: 59.39 kB / 0.6634 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.1622, allocations: 127.7 kB / 0.6635 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.1622, allocations: 25.7 kB / 0.6635 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.221e-05/0.1623, allocations: 92.12 kB / 0.6636 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.584e-05/0.1623, allocations: 35.64 kB / 0.6637 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.382e-05/0.1624, allocations: 17.7 kB / 0.6637 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.1625, allocations: 318.8 kB / 0.664 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/0.1626, allocations: 31.98 kB / 0.664 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.261e-05/0.1626, allocations: 27.98 kB / 0.664 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.119e-05/0.1627, allocations: 73.14 kB / 0.6641 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1627, allocations: 3.938 kB / 0.6641 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001222/0.1628, allocations: 105.5 kB / 0.6642 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1628, allocations: 4 kB / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1629, allocations: 0 / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/0.1629, allocations: 0 / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.1629, allocations: 0 / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.1629, allocations: 0 / 0.6642 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.971e-05/0.1629, allocations: 12.05 kB / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.147e-05/0.1629, allocations: 0 / 0.6642 GB, free: 5.375 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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 prepare postOptimizeDAE: time 0.0001041/0.163, allocations: 130.6 kB / 0.6643 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.043e-05/0.1631, allocations: 3.953 kB / 0.6644 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.276e-05/0.1631, allocations: 12.36 kB / 0.6644 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.1631, allocations: 8 kB / 0.6644 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1631, allocations: 3.938 kB / 0.6644 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1631, allocations: 4 kB / 0.6644 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.1633, allocations: 173.6 kB / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1633, allocations: 4 kB / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1633, allocations: 0 / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1633, allocations: 0 / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1634, allocations: 0 / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1634, allocations: 0 / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1634, allocations: 0 / 0.6645 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.1635, allocations: 136.9 kB / 0.6647 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.568e-05/0.1636, allocations: 85 kB / 0.6648 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1636, allocations: 8 kB / 0.6648 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.135e-05/0.1636, allocations: 4.031 kB / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.718e-05/0.1636, allocations: 0 / 0.6648 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.105e-06/0.1637, allocations: 4 kB / 0.6648 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.981e-05/0.1637, allocations: 103.2 kB / 0.6649 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1637, allocations: 0 / 0.6649 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003639/0.1641, allocations: 63.88 kB / 0.6649 GB, free: 4.543 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0006696/0.1648, allocations: 0.7409 MB / 0.6657 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001297/0.1649, allocations: 63.98 kB / 0.6657 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1649, allocations: 0 / 0.6657 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.712e-05/0.165, allocations: 35.98 kB / 0.6658 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1651, allocations: 8 kB / 0.6658 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.1657, allocations: 267.6 kB / 0.666 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.166, allocations: 0.6962 MB / 0.6667 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.166, allocations: 4 kB / 0.6667 GB, free: 2.637 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.948e-05/0.1661, allocations: 23.42 kB / 0.6667 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1661, allocations: 4 kB / 0.6667 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02442/0.1905, allocations: 2.82 MB / 0.6695 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.874/8.065, allocations: 8.156 kB / 0.6695 GB, free: 15.98 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_AggregationWeightingFactors.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.AggregationWeightingFactors.pipe 2>&1)