Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",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.009092/0.009092, allocations: 100.5 kB / 15.73 MB, free: 6.012 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.002036/0.002036, allocations: 190.1 kB / 16.67 MB, free: 5.934 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8491/0.8491, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.28 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1535, allocations: 80.21 MB / 0.6592 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001777/0.1553, allocations: 0.552 MB / 0.6598 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00144/0.1568, allocations: 0.9996 MB / 0.6608 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.361e-05/0.1568, allocations: 0 / 0.6608 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.343e-05/0.1568, allocations: 0 / 0.6608 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007091/0.1575, allocations: 83.78 kB / 0.6608 GB, free: 9.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 4.211e-05/0.1576, allocations: 15.94 kB / 0.6608 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.659e-05/0.1577, allocations: 7.984 kB / 0.6609 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.503e-05/0.1577, allocations: 8 kB / 0.6609 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.678e-05/0.1577, allocations: 0 / 0.6609 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.158, allocations: 32.84 kB / 0.6609 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.158, allocations: 0 / 0.6609 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000213/0.1582, allocations: 71.92 kB / 0.661 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.411e-05/0.1583, allocations: 11.88 kB / 0.661 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.078e-05/0.1583, allocations: 7.922 kB / 0.661 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001767/0.1585, allocations: 68.14 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.1585, allocations: 0 / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1585, allocations: 0 / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1585, allocations: 4 kB / 0.661 GB, free: 8.906 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003986/0.1589, allocations: 331.3 kB / 0.6614 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.329e-05/0.159, allocations: 12.03 kB / 0.6614 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.788e-05/0.159, allocations: 30.75 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.1591, allocations: 0.9375 kB / 0.6614 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.1592, allocations: 176.3 kB / 0.6616 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.1593, allocations: 7.938 kB / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.132e-05/0.1593, allocations: 0 / 0.6616 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.632e-05/0.1594, allocations: 25.7 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1594, allocations: 4 kB / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.1594, allocations: 0 / 0.6616 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1594, allocations: 4 kB / 0.6616 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.235e-05/0.1594, allocations: 3.938 kB / 0.6616 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004707/0.1599, allocations: 468.6 kB / 0.6621 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.16, allocations: 169.1 kB / 0.6622 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.1601, allocations: 80.14 kB / 0.6623 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.935e-05/0.1601, allocations: 75.28 kB / 0.6624 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.1602, allocations: 113.8 kB / 0.6625 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.1602, allocations: 0 / 0.6625 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.016e-05/0.1603, allocations: 29.7 kB / 0.6625 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.592e-05/0.1604, allocations: 126.7 kB / 0.6626 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.1605, allocations: 105.8 kB / 0.6627 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.1605, allocations: 25.7 kB / 0.6628 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.06e-05/0.1606, allocations: 80.14 kB / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1606, allocations: 0 / 0.6628 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.1606, allocations: 13.72 kB / 0.6628 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1608, allocations: 314.8 kB / 0.6631 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.278e-05/0.1608, allocations: 4 kB / 0.6632 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.596e-06/0.1608, allocations: 4 kB / 0.6632 GB, free: 6.5 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.117e-05/0.1608, allocations: 16.78 kB / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1608, allocations: 0 / 0.6632 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001127/0.161, allocations: 37.7 kB / 0.6632 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.161, allocations: 4 kB / 0.6632 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.161, allocations: 4.172 kB / 0.6632 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.161, allocations: 0 / 0.6632 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.217e-05/0.161, allocations: 4 kB / 0.6632 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.161, allocations: 3.938 kB / 0.6632 GB, free: 6.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.223e-05/0.1611, allocations: 15.97 kB / 0.6632 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1611, allocations: 3.938 kB / 0.6632 GB, free: 6.402 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: 1 (cmp) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.1612, allocations: 181.1 kB / 0.6634 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1613, allocations: 112.9 kB / 0.6635 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.455e-05/0.1614, allocations: 108.1 kB / 0.6636 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/0.1616, allocations: 180.2 kB / 0.6638 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.58e-05/0.1616, allocations: 184.3 kB / 0.664 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.394e-05/0.1617, allocations: 180.2 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002935/0.162, allocations: 405.2 kB / 0.6645 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/0.1621, allocations: 105 kB / 0.6646 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.939e-05/0.1621, allocations: 104.9 kB / 0.6647 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.982e-05/0.1622, allocations: 180.2 kB / 0.6649 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/0.1623, allocations: 184.5 kB / 0.6651 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.339e-05/0.1624, allocations: 188.2 kB / 0.6653 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.329e-05/0.1625, allocations: 176.3 kB / 0.6654 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.1627, allocations: 311.7 kB / 0.6657 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.1629, allocations: 182.1 kB / 0.6659 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.163, allocations: 184.2 kB / 0.6661 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.894e-05/0.1631, allocations: 105 kB / 0.6662 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/0.1631, allocations: 184.2 kB / 0.6663 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.812e-05/0.1632, allocations: 104.9 kB / 0.6664 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.337e-05/0.1633, allocations: 79.28 kB / 0.6665 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.1633, allocations: 4 kB / 0.6665 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002872/0.1636, allocations: 19.94 kB / 0.6665 GB, free: 2.785 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 (0): * Single equations (assignments): 0 * 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.000776/0.1643, allocations: 0.8621 MB / 0.6674 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.574e-05/0.1644, allocations: 4 kB / 0.6674 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1644, allocations: 3.938 kB / 0.6674 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.1645, allocations: 0 / 0.6674 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1649, allocations: 459.6 kB / 0.6678 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.1654, allocations: 249.7 kB / 0.6681 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.1657, allocations: 0.669 MB / 0.6687 GB, free: 472 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.156e-05/0.1658, allocations: 4 kB / 0.6687 GB, free: 468 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.047e-05/0.1658, allocations: 11.44 kB / 0.6687 GB, free: 456 kB / 0.4981 GB Notification: Performance of SimCode: time 4.9e-07/0.1658, allocations: 0 / 0.6687 GB, free: 456 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03088/0.1967, allocations: 1.532 MB / 0.6702 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.784/8.981, allocations: 9.328 kB / 0.6702 GB, free: 15.11 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)