Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.452/2.452, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 188.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.2 MB / 0.6191 GB, free: 12.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 87.78 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.259e-05/3.271e-05, allocations: 4 kB / 0.8509 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9244/0.9245, allocations: 115.3 MB / 0.9634 GB, free: 78.66 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2385/1.163, allocations: 137.3 MB / 1.097 GB, free: 3.188 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/1.163, allocations: 83.94 kB / 1.098 GB, free: 3.105 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01748/1.181, allocations: 3.81 MB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.393e-06/1.181, allocations: 3.938 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.173e-06/1.181, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 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.000357/1.181, allocations: 344.3 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/1.181, allocations: 13.33 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.97e-05/1.181, allocations: 5.734 kB / 1.102 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/1.182, allocations: 163.6 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/1.182, allocations: 4 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/1.182, allocations: 5.594 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.623e-05/1.182, allocations: 8 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001155/1.182, allocations: 49.67 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.048e-06/1.182, allocations: 0.5938 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.182, allocations: 0 / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/1.182, allocations: 4.656 kB / 1.102 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001718/1.182, allocations: 134.8 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/1.182, allocations: 27.42 kB / 1.102 GB, free: 14.47 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.836e-05/1.182, allocations: 17.53 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/1.182, allocations: 0.6562 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.182, allocations: 36.97 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.844e-06/1.182, allocations: 0 / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.000254/1.183, allocations: 54.31 kB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/1.183, allocations: 81.83 kB / 1.102 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.111e-05/1.183, allocations: 89.59 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/1.183, allocations: 30.36 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/1.183, allocations: 88.86 kB / 1.102 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.374e-05/1.183, allocations: 11.84 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.967e-06/1.183, allocations: 0.625 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001475/1.183, allocations: 315.4 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.033e-05/1.183, allocations: 9 kB / 1.103 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/1.183, allocations: 8 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.475e-05/1.183, allocations: 11.83 kB / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.183, allocations: 0 / 1.103 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001698/1.183, allocations: 57.64 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.795e-05/1.184, allocations: 37.7 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/1.184, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.184, allocations: 0 / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/1.184, allocations: 3.844 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/1.184, allocations: 3.125 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/1.184, allocations: 11.98 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.143e-05/1.184, allocations: 6.141 kB / 1.103 GB, free: 13.56 MB / 0.7136 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 () * 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 0.0001154/1.184, allocations: 134.7 kB / 1.103 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001673/1.184, allocations: 65.58 kB / 1.103 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.866e-05/1.184, allocations: 4 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.85e-05/1.184, allocations: 8.609 kB / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/1.184, allocations: 0 / 1.103 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/1.184, allocations: 5.438 kB / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/1.184, allocations: 0 / 1.103 GB, free: 13.33 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/1.184, allocations: 130.2 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.184, allocations: 0 / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.707e-06/1.184, allocations: 5.391 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.184, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/1.184, allocations: 5.5 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/1.184, allocations: 0 / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.184, allocations: 1.25 kB / 1.103 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/1.185, allocations: 93.3 kB / 1.103 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/1.185, allocations: 77.11 kB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/1.185, allocations: 7.891 kB / 1.103 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001868/1.185, allocations: 11.98 kB / 1.103 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.865e-05/1.185, allocations: 7.938 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/1.185, allocations: 4 kB / 1.103 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.16e-05/1.185, allocations: 75.28 kB / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/1.185, allocations: 0 / 1.103 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002905/1.185, allocations: 12.12 kB / 1.103 GB, free: 12.84 MB / 0.7136 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 () * 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.0006683/1.186, allocations: 0.6381 MB / 1.104 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001736/1.186, allocations: 83.42 kB / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/1.186, allocations: 0 / 1.104 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/1.186, allocations: 67.34 kB / 1.104 GB, free: 12.01 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001422/1.187, allocations: 3.953 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008834/1.187, allocations: 197.5 kB / 1.104 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/1.188, allocations: 0.6729 MB / 1.105 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.934e-05/1.188, allocations: 10.89 kB / 1.105 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.197e-05/1.188, allocations: 11.56 kB / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of SimCode: time 6.42e-07/1.188, allocations: 0 / 1.105 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03871/1.227, allocations: 1.285 MB / 1.106 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003966/1.227, allocations: 168.1 kB / 1.107 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.403/3.63, allocations: 0 / 1.107 GB, free: 9.648 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)