Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009914, allocations: 182.9 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.463/1.463, allocations: 205.4 MB / 0.5785 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007906/0.0007904, allocations: 97.92 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 16.66 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1746, allocations: 106.3 MB / 0.9012 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.3174, allocations: 131.9 MB / 1.03 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002242/0.3177, allocations: 83.94 kB / 1.03 GB, free: 11.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00975/0.3274, allocations: 3.841 MB / 1.034 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/0.3274, allocations: 4 kB / 1.034 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.3275, allocations: 0 / 1.034 GB, free: 8.055 MB / 0.6823 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.000256/0.3277, allocations: 351.5 kB / 1.034 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.3278, allocations: 12.03 kB / 1.034 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.3278, allocations: 4.844 kB / 1.034 GB, free: 7.641 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001199/0.328, allocations: 168.4 kB / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.328, allocations: 384 / 1.034 GB, free: 7.438 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.383e-05/0.328, allocations: 4.375 kB / 1.034 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001083/0.3281, allocations: 58.22 kB / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.3281, allocations: 192 / 1.034 GB, free: 7.371 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.3281, allocations: 7.938 kB / 1.034 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3282, allocations: 0 / 1.034 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.486e-05/0.3282, allocations: 15.94 kB / 1.034 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.3283, allocations: 149.7 kB / 1.035 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.739e-05/0.3284, allocations: 30.59 kB / 1.035 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.316e-05/0.3284, allocations: 16.91 kB / 1.035 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.304e-06/0.3285, allocations: 4 kB / 1.035 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.3285, allocations: 38.56 kB / 1.035 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.3285, allocations: 0 / 1.035 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0002105/0.3287, allocations: 107.2 kB / 1.035 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.673e-05/0.3287, allocations: 81.11 kB / 1.035 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.114e-05/0.3288, allocations: 97.84 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.3288, allocations: 29.95 kB / 1.035 GB, free: 6.688 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 2.369e-05/0.3289, allocations: 84.14 kB / 1.035 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.3289, allocations: 3.938 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.3289, allocations: 4 kB / 1.035 GB, free: 6.594 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.907e-05/0.329, allocations: 310.8 kB / 1.035 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.329, allocations: 15.98 kB / 1.035 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.187e-05/0.3291, allocations: 8 kB / 1.035 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.948e-05/0.3291, allocations: 84.19 kB / 1.035 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3291, allocations: 4 kB / 1.035 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001205/0.3293, allocations: 95.39 kB / 1.036 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.751e-05/0.3293, allocations: 37.69 kB / 1.036 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3293, allocations: 7.875 kB / 1.036 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.486e-06/0.3293, allocations: 0 / 1.036 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.01e-07/0.3293, allocations: 0 / 1.036 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.3293, allocations: 0 / 1.036 GB, free: 6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.155e-05/0.3294, allocations: 7.906 kB / 1.036 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.704e-05/0.3295, allocations: 11.98 kB / 1.036 GB, free: 5.98 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.628e-05/0.3296, allocations: 143.6 kB / 1.036 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.197e-05/0.3296, allocations: 0 / 1.036 GB, free: 5.824 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.202e-05/0.3296, allocations: 11.06 kB / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.3296, allocations: 0 / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.3296, allocations: 0 / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.3296, allocations: 0 / 1.036 GB, free: 5.812 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.611e-05/0.3297, allocations: 157.6 kB / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3297, allocations: 0 / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.71e-07/0.3297, allocations: 0 / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3297, allocations: 0 / 1.036 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3297, allocations: 11.94 kB / 1.036 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/0.3297, allocations: 4 kB / 1.036 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3298, allocations: 3.938 kB / 1.036 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.3299, allocations: 122.8 kB / 1.036 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.414e-05/0.3299, allocations: 77.11 kB / 1.036 GB, free: 5.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.806e-05/0.33, allocations: 7.938 kB / 1.036 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.788e-05/0.3301, allocations: 11.98 kB / 1.036 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.3301, allocations: 4.031 kB / 1.036 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.3301, allocations: 4 kB / 1.036 GB, free: 5.324 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 2.863e-05/0.3301, allocations: 75.28 kB / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.3301, allocations: 0 / 1.036 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001968/0.3303, allocations: 20 kB / 1.036 GB, free: 5.23 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002157/0.3306, allocations: 125 kB / 1.036 GB, free: 5.098 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3307, allocations: 87.27 kB / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3307, allocations: 0 / 1.036 GB, free: 5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.084e-05/0.3308, allocations: 71.39 kB / 1.037 GB, free: 4.918 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.3309, allocations: 4 kB / 1.037 GB, free: 4.914 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000506/0.3314, allocations: 197.5 kB / 1.037 GB, free: 4.695 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.3316, allocations: 0.6772 MB / 1.037 GB, free: 3.992 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.641e-05/0.3317, allocations: 8 kB / 1.037 GB, free: 3.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.09e-05/0.3317, allocations: 7.438 kB / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of SimCode: time 1.904e-06/0.3317, allocations: 0 / 1.037 GB, free: 3.977 MB / 0.6823 GB Notification: Performance of Templates: time 0.002836/0.3345, allocations: 1.032 MB / 1.038 GB, free: 2.957 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)