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.01179/0.01179, allocations: 101.6 kB / 15.73 MB, free: 6.016 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.002351/0.002351, allocations: 193.5 kB / 16.67 MB, free: 5.949 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.616/1.616, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8386/0.8386, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001569/0.001569, allocations: 64.42 kB / 0.5809 GB, free: 1.105 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2281, allocations: 80.22 MB / 0.6592 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002375/0.2305, allocations: 0.5461 MB / 0.6598 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2324, allocations: 0.9879 MB / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.2325, allocations: 0 / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.706e-05/0.2325, allocations: 0 / 0.6607 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.2334, allocations: 87.78 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.646e-05/0.2335, allocations: 15.94 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.2336, allocations: 7.984 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.2336, allocations: 3.984 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.491e-05/0.2337, allocations: 4 kB / 0.6609 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003149/0.234, allocations: 42.75 kB / 0.6609 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.234, allocations: 3.938 kB / 0.6609 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002387/0.2343, allocations: 79.86 kB / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.504e-05/0.2343, allocations: 0 / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.664e-05/0.2343, allocations: 0 / 0.661 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002387/0.2346, allocations: 67.91 kB / 0.661 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.2346, allocations: 4 kB / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.717e-06/0.2346, allocations: 0 / 0.661 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2346, allocations: 3.938 kB / 0.661 GB, free: 12.09 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.0004429/0.2351, allocations: 334.4 kB / 0.6614 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.2351, allocations: 8.031 kB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.2352, allocations: 30.75 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.2352, allocations: 4.938 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.2354, allocations: 164.4 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.2354, allocations: 3.938 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.668e-05/0.2354, allocations: 3.984 kB / 0.6616 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001198/0.2355, allocations: 37.64 kB / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2356, allocations: 0 / 0.6616 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.2356, allocations: 4 kB / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2356, allocations: 0 / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.148e-05/0.2356, allocations: 0 / 0.6616 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005248/0.2362, allocations: 464.6 kB / 0.6621 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.81e-05/0.2363, allocations: 165.1 kB / 0.6622 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.388e-05/0.2363, allocations: 84.08 kB / 0.6623 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.2364, allocations: 83.31 kB / 0.6624 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/0.2364, allocations: 113.8 kB / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.2364, allocations: 0 / 0.6625 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 9.407e-05/0.2365, allocations: 29.61 kB / 0.6625 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.92e-05/0.2366, allocations: 126.7 kB / 0.6626 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001159/0.2367, allocations: 97.86 kB / 0.6627 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.2368, allocations: 29.7 kB / 0.6628 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.2369, allocations: 88.12 kB / 0.6628 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-06/0.2369, allocations: 0 / 0.6628 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/0.237, allocations: 13.72 kB / 0.6629 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.2371, allocations: 314.8 kB / 0.6632 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.2371, allocations: 0 / 0.6632 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-06/0.2371, allocations: 3.938 kB / 0.6632 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.2372, allocations: 12.92 kB / 0.6632 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2372, allocations: 0 / 0.6632 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001259/0.2373, allocations: 37.69 kB / 0.6632 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.2373, allocations: 14.59 kB / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2374, allocations: 0 / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.2374, allocations: 0 / 0.6632 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.955e-05/0.2374, allocations: 3.938 kB / 0.6632 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.2374, allocations: 0 / 0.6632 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.2374, allocations: 3.938 kB / 0.6632 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.2375, allocations: 8 kB / 0.6632 GB, free: 9.602 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 9.255e-05/0.2376, allocations: 189.1 kB / 0.6634 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.041e-05/0.2376, allocations: 101 kB / 0.6635 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.117e-05/0.2377, allocations: 112.1 kB / 0.6636 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-05/0.2378, allocations: 184.2 kB / 0.6638 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.805e-05/0.2379, allocations: 176.3 kB / 0.664 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.146e-05/0.238, allocations: 188.1 kB / 0.6641 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002486/0.2382, allocations: 401.2 kB / 0.6645 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.761e-05/0.2383, allocations: 105 kB / 0.6646 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.2383, allocations: 104.9 kB / 0.6647 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.775e-05/0.2384, allocations: 180.3 kB / 0.6649 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.825e-05/0.2385, allocations: 188.4 kB / 0.6651 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.091e-05/0.2386, allocations: 184.3 kB / 0.6652 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.715e-05/0.2387, allocations: 176.3 kB / 0.6654 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.2389, allocations: 307.7 kB / 0.6657 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.2391, allocations: 186 kB / 0.6659 GB, free: 6.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.2392, allocations: 184.3 kB / 0.6661 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.677e-05/0.2393, allocations: 101 kB / 0.6662 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.515e-05/0.2393, allocations: 184.2 kB / 0.6663 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.941e-05/0.2394, allocations: 108.9 kB / 0.6664 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.496e-05/0.2395, allocations: 83.44 kB / 0.6665 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2395, allocations: 0 / 0.6665 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002858/0.2398, allocations: 20.56 kB / 0.6665 GB, free: 5.984 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.0007385/0.2405, allocations: 0.8623 MB / 0.6674 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.884e-05/0.2406, allocations: 11.98 kB / 0.6674 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.2406, allocations: 4 kB / 0.6674 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-06/0.2406, allocations: 3.938 kB / 0.6674 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.2411, allocations: 455.6 kB / 0.6678 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.2417, allocations: 245.7 kB / 0.6681 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.2421, allocations: 0.6729 MB / 0.6687 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.047e-05/0.2422, allocations: 4 kB / 0.6687 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.498e-05/0.2422, allocations: 7.438 kB / 0.6687 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.2422, allocations: 0 / 0.6687 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02167/0.2639, allocations: 1.529 MB / 0.6702 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.618/7.882, allocations: 10.91 kB / 0.6702 GB, free: 2.309 MB / 0.4981 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)