Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 107.5 kB / 16.27 MB, free: 6.355 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.001417/0.001417, allocations: 192.3 kB / 17.2 MB, free: 5.953 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.36/1.36, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 390.2 MB / 0.6653 GB, free: 0.7383 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 67.27 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2446, allocations: 140.4 MB / 0.9503 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.00184/0.2465, allocations: 0.5654 MB / 0.9509 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.2476, allocations: 0.9973 MB / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.026e-05/0.2477, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.143e-05/0.2477, allocations: 0 / 0.9518 GB, free: 7.266 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0006436/0.2484, allocations: 87.78 kB / 0.9519 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 3.802e-05/0.2484, allocations: 19.92 kB / 0.9519 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 3.683e-05/0.2485, allocations: 8 kB / 0.9519 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.823e-05/0.2485, allocations: 0 / 0.9519 GB, free: 7.152 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.764e-05/0.2485, allocations: 4 kB / 0.9519 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.2487, allocations: 31.91 kB / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.578e-06/0.2488, allocations: 0 / 0.952 GB, free: 7.117 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.2489, allocations: 83.84 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 9.027e-06/0.2489, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.548e-05/0.249, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001488/0.2491, allocations: 67.86 kB / 0.9521 GB, free: 6.969 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.2491, allocations: 4 kB / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2491, allocations: 0 / 0.9521 GB, free: 6.965 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.2491, allocations: 4 kB / 0.9521 GB, free: 6.961 MB / 0.7325 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.0002919/0.2494, allocations: 335.7 kB / 0.9524 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.2495, allocations: 12.02 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.978e-05/0.2495, allocations: 0.9375 kB / 0.9525 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001019/0.2496, allocations: 164.4 kB / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.2496, allocations: 384 / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.2497, allocations: 384 / 0.9526 GB, free: 6.375 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.554e-05/0.2497, allocations: 33.83 kB / 0.9526 GB, free: 6.336 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2497, allocations: 4 kB / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.2498, allocations: 0 / 0.9526 GB, free: 6.332 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.034e-06/0.2498, allocations: 3.938 kB / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.665e-05/0.2498, allocations: 0 / 0.9527 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003601/0.2502, allocations: 468.6 kB / 0.9531 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.09e-05/0.2502, allocations: 169.1 kB / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.649e-05/0.2503, allocations: 84.14 kB / 0.9533 GB, free: 5.539 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/0.2503, allocations: 75.28 kB / 0.9534 GB, free: 5.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.2503, allocations: 113.8 kB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.2503, allocations: 0 / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of matching and sorting (n=0): time 6.295e-05/0.2504, allocations: 25.7 kB / 0.9535 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.19e-05/0.2505, allocations: 126.7 kB / 0.9537 GB, free: 5.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.091e-05/0.2506, allocations: 109.8 kB / 0.9538 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.2506, allocations: 25.7 kB / 0.9538 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.2506, allocations: 91.98 kB / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-06/0.2506, allocations: 0 / 0.9539 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.2507, allocations: 9.719 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.368e-05/0.2508, allocations: 322.8 kB / 0.9542 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.2508, allocations: 3.984 kB / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.316e-06/0.2508, allocations: 0 / 0.9542 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.656e-05/0.2508, allocations: 16.86 kB / 0.9542 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2508, allocations: 3.938 kB / 0.9542 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.731e-05/0.2509, allocations: 29.7 kB / 0.9543 GB, free: 4.531 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.251, allocations: 4 kB / 0.9543 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.251, allocations: 8 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.251, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.719e-05/0.251, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.251, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.34e-05/0.251, allocations: 0 / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.44e-06/0.251, allocations: 4.031 kB / 0.9543 GB, free: 4.516 MB / 0.7325 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.578e-05/0.2511, allocations: 197 kB / 0.9545 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.2512, allocations: 104.9 kB / 0.9546 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.08e-05/0.2512, allocations: 107.9 kB / 0.9547 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.244e-05/0.2513, allocations: 184.2 kB / 0.9548 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.707e-05/0.2514, allocations: 180.3 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.006e-05/0.2514, allocations: 180.2 kB / 0.9552 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.2516, allocations: 413.1 kB / 0.9556 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.569e-05/0.2517, allocations: 105 kB / 0.9557 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.196e-05/0.2517, allocations: 104.9 kB / 0.9558 GB, free: 2.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.324e-05/0.2518, allocations: 176.3 kB / 0.9559 GB, free: 2.676 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.487e-05/0.2518, allocations: 188.3 kB / 0.9561 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.688e-05/0.2519, allocations: 180.4 kB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.168e-05/0.2519, allocations: 180.3 kB / 0.9565 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.2521, allocations: 311.7 kB / 0.9568 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.876e-05/0.2521, allocations: 182.1 kB / 0.9569 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.2522, allocations: 184.2 kB / 0.9571 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.068e-05/0.2523, allocations: 105 kB / 0.9572 GB, free: 1.289 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.927e-05/0.2524, allocations: 180.2 kB / 0.9574 GB, free: 1.105 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.2524, allocations: 101 kB / 0.9575 GB, free: 1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.877e-05/0.2524, allocations: 83.28 kB / 0.9576 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2524, allocations: 0 / 0.9576 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002531/0.2527, allocations: 27.98 kB / 0.9576 GB, free: 0.8906 MB / 0.7325 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.0003393/0.253, allocations: 221.6 kB / 0.9578 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 6.404e-05/0.2531, allocations: 15.86 kB / 0.9578 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2531, allocations: 0 / 0.9578 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.2531, allocations: 4.062 kB / 0.9578 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2535, allocations: 459.6 kB / 0.9583 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/0.2539, allocations: 222 kB / 0.9585 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.2541, allocations: 0.6727 MB / 0.9591 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.279e-05/0.2541, allocations: 15.44 kB / 0.9591 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of SimCode: time 1.393e-06/0.2541, allocations: 0 / 0.9591 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of Templates: time 0.00231/0.2564, allocations: 0.8616 MB / 0.96 GB, free: 14.38 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)