Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_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.001139/0.001139, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 198.2 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 222.4 MB, free: 4.617 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.3 MB / 0.5489 GB, free: 12.84 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 74.38 kB / 0.6717 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2489, allocations: 114.6 MB / 0.7835 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002331/0.2512, allocations: 0.5652 MB / 0.7841 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2527, allocations: 0.9876 MB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.173e-05/0.2528, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.423e-05/0.2528, allocations: 0 / 0.785 GB, free: 11.77 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/shaGFunction.mo:2:1-78:17:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction' contains a call to impure function 'Buildings.Utilities.Cryptographics.sha'. Notification: Performance of NFTyping.typeBindings: time 0.0009783/0.2538, allocations: 87.78 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 6.265e-05/0.2539, allocations: 19.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.22e-05/0.2539, allocations: 0 / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.198e-05/0.254, allocations: 4 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.484e-05/0.2541, allocations: 3.938 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.178e-05/0.2541, allocations: 7.984 kB / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.2541, allocations: 0 / 0.7852 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.2544, allocations: 79.86 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.099e-05/0.2544, allocations: 11.98 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.394e-05/0.2545, allocations: 3.938 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002501/0.2547, allocations: 63.92 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2548, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.928e-06/0.2548, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.2548, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 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.000592/0.2554, allocations: 335.8 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 8.187e-05/0.2555, allocations: 12.03 kB / 0.7856 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.766e-05/0.2555, allocations: 34.75 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.2556, allocations: 4.844 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.2558, allocations: 160.4 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.2559, allocations: 384 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.2559, allocations: 4.375 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2562, allocations: 37.56 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.649e-05/0.2563, allocations: 3.938 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.2563, allocations: 0 / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.2563, allocations: 0 / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.832e-05/0.2564, allocations: 4 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007462/0.2571, allocations: 464.6 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.2573, allocations: 173.2 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.117e-05/0.2573, allocations: 88.02 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.337e-05/0.2574, allocations: 75.28 kB / 0.7866 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.019e-05/0.2575, allocations: 109.8 kB / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.633e-06/0.2575, allocations: 0 / 0.7867 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.932e-05/0.2576, allocations: 25.7 kB / 0.7868 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.205e-05/0.2577, allocations: 134.7 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.2578, allocations: 101.8 kB / 0.787 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.638e-05/0.2579, allocations: 25.7 kB / 0.787 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.2579, allocations: 80.14 kB / 0.7871 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-06/0.2579, allocations: 4 kB / 0.7871 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.73e-05/0.258, allocations: 17.72 kB / 0.7871 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.2581, allocations: 318.8 kB / 0.7874 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.026e-05/0.2581, allocations: 7.938 kB / 0.7874 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.707e-06/0.2581, allocations: 4 kB / 0.7874 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.271e-05/0.2582, allocations: 4.859 kB / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2582, allocations: 0 / 0.7874 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001226/0.2583, allocations: 37.77 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.2583, allocations: 4 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2584, allocations: 0 / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.2584, allocations: 0 / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.348e-05/0.2584, allocations: 3.984 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2584, allocations: 0 / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.2585, allocations: 7.906 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2585, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 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.0001306/0.2586, allocations: 193 kB / 0.7877 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.214e-05/0.2587, allocations: 105 kB / 0.7878 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.042e-05/0.2588, allocations: 108.1 kB / 0.7879 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.567e-05/0.2589, allocations: 185.2 kB / 0.7881 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.052e-05/0.2589, allocations: 176.3 kB / 0.7882 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-05/0.259, allocations: 188.2 kB / 0.7884 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.2594, allocations: 405.2 kB / 0.7888 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-05/0.2595, allocations: 101 kB / 0.7889 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.573e-05/0.2596, allocations: 112.9 kB / 0.789 GB, free: 7.344 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.668e-05/0.2597, allocations: 176.3 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.535e-05/0.2597, allocations: 184.2 kB / 0.7893 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.281e-05/0.2598, allocations: 176.5 kB / 0.7895 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.584e-05/0.2599, allocations: 196.1 kB / 0.7897 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.2601, allocations: 307.7 kB / 0.79 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.515e-05/0.2602, allocations: 186 kB / 0.7902 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.134e-05/0.2603, allocations: 180.2 kB / 0.7903 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.768e-05/0.2604, allocations: 105 kB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.2604, allocations: 184.2 kB / 0.7906 GB, free: 5.586 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.43e-05/0.2605, allocations: 101 kB / 0.7907 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.349e-05/0.2605, allocations: 87.27 kB / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2605, allocations: 0 / 0.7908 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003284/0.2609, allocations: 16 kB / 0.7908 GB, free: 5.379 MB / 0.6075 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.0007569/0.2616, allocations: 0.868 MB / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.161e-05/0.2617, allocations: 0 / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2617, allocations: 0 / 0.7917 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.056e-06/0.2617, allocations: 4.062 kB / 0.7917 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.2622, allocations: 466.9 kB / 0.7921 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.2639, allocations: 1.267 MB / 0.7933 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.2644, allocations: 0.6806 MB / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.2644, allocations: 0 / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.533e-05/0.2645, allocations: 15.47 kB / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of SimCode: time 5.91e-07/0.2645, allocations: 0 / 0.794 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01983/0.2843, allocations: 1.506 MB / 0.7955 GB, free: 0.6328 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.759/8.044, allocations: 7.75 kB / 0.7955 GB, free: 0.6289 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)