Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.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.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001282/0.001282, allocations: 193 kB / 16.13 MB, free: 6.656 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.484 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 472.6 MB / 0.7447 GB, free: 4.941 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 67.33 kB / 0.9114 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2605, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001697/0.2623, allocations: 0.6151 MB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002553/0.2625, allocations: 117.8 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.109e-05/0.2626, allocations: 0 / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 7.293e-05/0.2626, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.045e-05/0.2627, allocations: 4 kB / 1.068 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.2628, allocations: 35.91 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.553e-05/0.2629, allocations: 27.97 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.2629, allocations: 4 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.463e-05/0.2629, allocations: 12 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.684e-05/0.263, allocations: 15.97 kB / 1.068 GB, free: 10.05 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.958e-05/0.263, allocations: 4 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-05/0.2631, allocations: 8 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-06/0.2631, allocations: 3.938 kB / 1.068 GB, free: 10.03 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.154e-05/0.2631, allocations: 15.98 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.071e-05/0.2632, allocations: 23.95 kB / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2632, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2632, allocations: 0 / 1.068 GB, free: 9.992 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.2632, allocations: 0 / 1.068 GB, free: 9.992 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.0002951/0.2635, allocations: 353.3 kB / 1.069 GB, free: 9.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.2636, allocations: 12.03 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.008e-05/0.2636, allocations: 4.875 kB / 1.069 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001024/0.2637, allocations: 168.4 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.2637, allocations: 8.25 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.459e-05/0.2637, allocations: 4.375 kB / 1.069 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.2638, allocations: 58.22 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.101e-06/0.2639, allocations: 192 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.2639, allocations: 3.938 kB / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.081e-06/0.2639, allocations: 0 / 1.069 GB, free: 9.293 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.945e-05/0.2639, allocations: 15.98 kB / 1.069 GB, free: 9.277 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001337/0.2641, allocations: 161.7 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/0.2641, allocations: 26.55 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.755e-05/0.2642, allocations: 20.91 kB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.2642, allocations: 0 / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.2642, allocations: 34.56 kB / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.2642, allocations: 0 / 1.069 GB, free: 8.969 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0002371/0.2645, allocations: 107.3 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.2645, allocations: 85.23 kB / 1.069 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.417e-05/0.2646, allocations: 97.75 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.2646, allocations: 29.7 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.647e-05/0.2647, allocations: 80.14 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.2647, allocations: 4 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.2647, allocations: 21.72 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.2648, allocations: 314.8 kB / 1.07 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.599e-05/0.2649, allocations: 20.11 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.699e-05/0.2649, allocations: 7.984 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.803e-05/0.265, allocations: 80.27 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.265, allocations: 0 / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001408/0.2651, allocations: 95.38 kB / 1.07 GB, free: 7.953 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.931e-05/0.2652, allocations: 35.42 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2652, allocations: 3.938 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.2652, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.2652, allocations: 0 / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.617e-06/0.2652, allocations: 4.094 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000139/0.2654, allocations: 7.984 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.378e-05/0.2654, allocations: 11.94 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.409e-05/0.2655, allocations: 135.8 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.2655, allocations: 11.92 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.083e-05/0.2655, allocations: 11.06 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.2655, allocations: 4 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.2655, allocations: 0 / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-06/0.2655, allocations: 4 kB / 1.07 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.978e-05/0.2656, allocations: 153.7 kB / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2656, allocations: 0 / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.2656, allocations: 0 / 1.07 GB, free: 7.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.2656, allocations: 3.938 kB / 1.07 GB, free: 7.504 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.2657, allocations: 7.938 kB / 1.07 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.2657, allocations: 3.984 kB / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2657, allocations: 0 / 1.07 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.2658, allocations: 126.7 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.2659, allocations: 85.03 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.2659, allocations: 3.938 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.266, allocations: 4 kB / 1.071 GB, free: 7.234 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.266, allocations: 7.938 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.2661, allocations: 7.984 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.136e-05/0.2661, allocations: 75.28 kB / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2661, allocations: 0 / 1.071 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002041/0.2663, allocations: 12 kB / 1.071 GB, free: 7.133 MB / 0.8262 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.000268/0.2666, allocations: 130.6 kB / 1.071 GB, free: 7 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.2667, allocations: 83.38 kB / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2668, allocations: 0 / 1.071 GB, free: 6.906 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.792e-05/0.2668, allocations: 71.39 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.267, allocations: 12.69 kB / 1.071 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.2673, allocations: 105.1 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2676, allocations: 0.6731 MB / 1.072 GB, free: 5.984 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.299e-05/0.2677, allocations: 7.938 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.044e-05/0.2677, allocations: 7.438 kB / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.2677, allocations: 0 / 1.072 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of Templates: time 0.003158/0.2708, allocations: 1.056 MB / 1.073 GB, free: 4.922 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)