Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") translateModel(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 103.5 kB / 15.98 MB, free: 6.348 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.002247/0.002247, allocations: 196.6 kB / 16.91 MB, free: 6.188 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.438/1.438, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 482.4 MB / 0.755 GB, free: 7.203 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.73 kB / 0.924 GB, free: 332 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9323/0.9342, allocations: 162.2 MB / 1.082 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa): time 0.001913/0.9362, allocations: 0.6009 MB / 1.083 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001283/0.9375, allocations: 1.023 MB / 1.084 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.695e-05/0.9375, allocations: 0.6562 kB / 1.084 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.624e-05/0.9375, allocations: 3.938 kB / 1.084 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0007798/0.9383, allocations: 119.2 kB / 1.084 GB, free: 0.7188 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 3.32e-05/0.9383, allocations: 16.34 kB / 1.084 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.298e-05/0.9384, allocations: 6.5 kB / 1.084 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.9384, allocations: 2.703 kB / 1.084 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.754e-05/0.9385, allocations: 6.031 kB / 1.084 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.9387, allocations: 52.36 kB / 1.084 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.9387, allocations: 0 / 1.084 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.939, allocations: 119.9 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.939, allocations: 2.594 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.939, allocations: 2.516 kB / 1.084 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.9392, allocations: 68.05 kB / 1.084 GB, free: 0.6289 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.9392, allocations: 4.719 kB / 1.084 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9392, allocations: 0 / 1.084 GB, free: 0.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.9392, allocations: 0.5625 kB / 1.084 GB, free: 0.625 MB / 0.8262 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.0003117/0.9395, allocations: 342.4 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.9396, allocations: 9.594 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.9396, allocations: 2.516 kB / 1.085 GB, free: 268 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001004/0.9397, allocations: 169 kB / 1.085 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.9397, allocations: 384 / 1.085 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.9398, allocations: 1.625 kB / 1.085 GB, free: 64 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.9399, allocations: 44.86 kB / 1.085 GB, free: 16 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.9399, allocations: 4 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.9399, allocations: 0.7969 kB / 1.085 GB, free: 12 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.9399, allocations: 4.547 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.93e-05/0.9399, allocations: 2.469 kB / 1.085 GB, free: 8 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004935/0.9404, allocations: 464.7 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.594e-05/0.9405, allocations: 174.9 kB / 1.086 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.9406, allocations: 80.7 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.9406, allocations: 75.28 kB / 1.086 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.9407, allocations: 108.5 kB / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.9407, allocations: 0 / 1.086 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.826e-05/0.9408, allocations: 31.27 kB / 1.086 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/0.9409, allocations: 132.5 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.941, allocations: 97.31 kB / 1.086 GB, free: 14.77 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.941, allocations: 26.31 kB / 1.086 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.603e-05/0.9411, allocations: 89.27 kB / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.9411, allocations: 0 / 1.086 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.67e-05/0.9411, allocations: 14.08 kB / 1.086 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9413, allocations: 320.1 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.718e-06/0.9413, allocations: 1.062 kB / 1.087 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-06/0.9413, allocations: 5.094 kB / 1.087 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.843e-05/0.9413, allocations: 7.766 kB / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.9413, allocations: 0 / 1.087 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001077/0.9414, allocations: 38 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.9415, allocations: 4.375 kB / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.9415, allocations: 0 / 1.087 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.9415, allocations: 9.094 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.62e-05/0.9415, allocations: 1.281 kB / 1.087 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.9415, allocations: 8.734 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.506e-05/0.9415, allocations: 5.25 kB / 1.087 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.9416, allocations: 0 / 1.087 GB, free: 14.25 MB / 0.8419 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.000109/0.9417, allocations: 189.7 kB / 1.087 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.9417, allocations: 103.2 kB / 1.087 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.989e-05/0.9418, allocations: 110.2 kB / 1.087 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.308e-05/0.9419, allocations: 182.2 kB / 1.087 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-05/0.942, allocations: 186.1 kB / 1.087 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.999e-05/0.9421, allocations: 182.1 kB / 1.087 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002613/0.9423, allocations: 402.1 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-05/0.9424, allocations: 103.1 kB / 1.088 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.485e-05/0.9425, allocations: 109.5 kB / 1.088 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.684e-05/0.9426, allocations: 186.5 kB / 1.088 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.367e-05/0.9427, allocations: 182.6 kB / 1.088 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.488e-05/0.9427, allocations: 176.9 kB / 1.089 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.737e-05/0.9428, allocations: 178.6 kB / 1.089 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.943, allocations: 317 kB / 1.089 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.9431, allocations: 184.3 kB / 1.089 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.9432, allocations: 178.7 kB / 1.089 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.9433, allocations: 107.1 kB / 1.09 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.02e-05/0.9434, allocations: 188.8 kB / 1.09 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.122e-05/0.9435, allocations: 103.8 kB / 1.09 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.289e-05/0.9435, allocations: 84.72 kB / 1.09 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9435, allocations: 0 / 1.09 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002883/0.9438, allocations: 24.53 kB / 1.09 GB, free: 10.7 MB / 0.8419 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.0004728/0.9443, allocations: 239.1 kB / 1.09 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.114e-05/0.9444, allocations: 11.12 kB / 1.09 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.9444, allocations: 3.938 kB / 1.09 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.563e-06/0.9444, allocations: 0 / 1.09 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.9448, allocations: 463 kB / 1.091 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004342/0.9453, allocations: 253.2 kB / 1.091 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.9456, allocations: 0.6755 MB / 1.091 GB, free: 9.105 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.9456, allocations: 12.45 kB / 1.092 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of SimCode: time 2.5e-07/0.9456, allocations: 0 / 1.092 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of Templates: time 0.003411/0.9491, allocations: 1.049 MB / 1.093 GB, free: 9.02 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.ZonedBorefields.BaseClasses.HeatTransfer.Validation.ShaKappa.pipe 2>&1)