Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.257/1.257, allocations: 225.6 MB / 249.3 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9567/0.9567, allocations: 175.7 MB / 480.1 MB, free: 2.805 MB / 366.1 MB " [Timeout remaining time 179] 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.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_dev_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_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 64.7 kB / 0.6678 GB, free: 10.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1428, allocations: 94.53 MB / 0.7601 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00146/0.1443, allocations: 0.5699 MB / 0.7607 GB, free: 236 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001121/0.1454, allocations: 1.013 MB / 0.7617 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.1454, allocations: 0 / 0.7617 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.282e-05/0.1454, allocations: 4 kB / 0.7617 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0005911/0.146, allocations: 91.78 kB / 0.7618 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.198e-05/0.1461, allocations: 15.92 kB / 0.7618 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 3.98e-05/0.1461, allocations: 7.984 kB / 0.7618 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.579e-05/0.1461, allocations: 4 kB / 0.7618 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.1462, allocations: 4 kB / 0.7618 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001751/0.1463, allocations: 31.91 kB / 0.7618 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-06/0.1463, allocations: 0 / 0.7618 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001573/0.1465, allocations: 83.91 kB / 0.7619 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.1465, allocations: 0 / 0.7619 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.512e-05/0.1465, allocations: 8 kB / 0.7619 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1467, allocations: 75.78 kB / 0.762 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1467, allocations: 0 / 0.762 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1467, allocations: 0 / 0.762 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.878e-06/0.1467, allocations: 4 kB / 0.762 GB, free: 14.88 MB / 0.5762 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.0002965/0.147, allocations: 331.3 kB / 0.7623 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.147, allocations: 8.031 kB / 0.7623 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.805e-05/0.147, allocations: 30.75 kB / 0.7623 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.657e-05/0.147, allocations: 4.875 kB / 0.7623 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.1472, allocations: 176.4 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.1472, allocations: 3.938 kB / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.245e-06/0.1472, allocations: 0 / 0.7625 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.488e-05/0.1472, allocations: 29.7 kB / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.1472, allocations: 0 / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-06/0.1473, allocations: 0 / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.006e-06/0.1473, allocations: 0 / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.288e-05/0.1473, allocations: 0 / 0.7625 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003557/0.1476, allocations: 472.6 kB / 0.763 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.488e-05/0.1477, allocations: 169.1 kB / 0.7632 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.247e-05/0.1477, allocations: 84.08 kB / 0.7632 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.125e-05/0.1478, allocations: 83.27 kB / 0.7633 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.354e-05/0.1478, allocations: 109.8 kB / 0.7634 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1478, allocations: 4 kB / 0.7634 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 5.935e-05/0.1479, allocations: 29.64 kB / 0.7635 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.1479, allocations: 126.7 kB / 0.7636 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.61e-05/0.148, allocations: 105.8 kB / 0.7637 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.304e-05/0.148, allocations: 25.7 kB / 0.7637 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.619e-05/0.1481, allocations: 84.08 kB / 0.7638 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-06/0.1481, allocations: 0 / 0.7638 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.1481, allocations: 13.67 kB / 0.7638 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1482, allocations: 322.8 kB / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-06/0.1482, allocations: 0 / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-06/0.1482, allocations: 0 / 0.7641 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.305e-05/0.1482, allocations: 16.84 kB / 0.7641 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1482, allocations: 0 / 0.7641 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.927e-05/0.1483, allocations: 33.64 kB / 0.7642 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1483, allocations: 8 kB / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.1483, allocations: 4.094 kB / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.427e-06/0.1483, allocations: 0 / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.098e-05/0.1483, allocations: 0 / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/0.1484, allocations: 0 / 0.7642 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.1484, allocations: 3.938 kB / 0.7642 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.1484, allocations: 0 / 0.7642 GB, free: 12.39 MB / 0.5762 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 8.42e-05/0.1485, allocations: 189.1 kB / 0.7643 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.018e-05/0.1485, allocations: 101 kB / 0.7644 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.796e-05/0.1486, allocations: 116 kB / 0.7646 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.353e-05/0.1486, allocations: 180.3 kB / 0.7647 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.025e-05/0.1487, allocations: 184.2 kB / 0.7649 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.267e-05/0.1488, allocations: 184.2 kB / 0.7651 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.149, allocations: 405.2 kB / 0.7655 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.946e-05/0.149, allocations: 104.9 kB / 0.7656 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.729e-05/0.1491, allocations: 109 kB / 0.7657 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-05/0.1491, allocations: 180.2 kB / 0.7658 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.511e-05/0.1492, allocations: 180.5 kB / 0.766 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.949e-05/0.1492, allocations: 176.3 kB / 0.7662 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.869e-05/0.1493, allocations: 192.2 kB / 0.7664 GB, free: 9.996 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001318/0.1494, allocations: 311.7 kB / 0.7667 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.938e-05/0.1495, allocations: 178.1 kB / 0.7668 GB, free: 9.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.1496, allocations: 184.3 kB / 0.767 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.31e-05/0.1497, allocations: 104.9 kB / 0.7671 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.1497, allocations: 184.2 kB / 0.7673 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.009e-05/0.1498, allocations: 112.8 kB / 0.7674 GB, free: 8.867 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.1498, allocations: 79.28 kB / 0.7675 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1498, allocations: 3.938 kB / 0.7675 GB, free: 8.785 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002292/0.15, allocations: 31.86 kB / 0.7675 GB, free: 8.754 MB / 0.5762 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.0005724/0.1506, allocations: 0.8565 MB / 0.7683 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 5.605e-05/0.1507, allocations: 7.938 kB / 0.7683 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1507, allocations: 0 / 0.7683 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.1507, allocations: 0 / 0.7683 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003386/0.151, allocations: 463.7 kB / 0.7688 GB, free: 7.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.1514, allocations: 245.7 kB / 0.769 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.1517, allocations: 0.6729 MB / 0.7697 GB, free: 6.43 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.116e-05/0.1517, allocations: 7.844 kB / 0.7697 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.096e-05/0.1517, allocations: 15.44 kB / 0.7697 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.1517, allocations: 0 / 0.7697 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02219/0.1739, allocations: 1.507 MB / 0.7712 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.496, allocations: 10.73 kB / 0.7712 GB, free: 5.027 MB / 0.5762 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.78398349598865]