Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001211, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 222.4 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.832/1.832, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001463, allocations: 69.62 kB / 0.6716 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.266, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.00239/0.2684, allocations: 0.5559 MB / 0.784 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002957/0.2688, allocations: 107.7 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.138e-05/0.2688, allocations: 0 / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.2689, allocations: 15.92 kB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.706e-05/0.269, allocations: 4 kB / 0.7841 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.2692, allocations: 35.84 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.938e-05/0.2693, allocations: 23.98 kB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.443e-05/0.2694, allocations: 0 / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.301e-05/0.2694, allocations: 19.97 kB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.883e-05/0.2695, allocations: 11.92 kB / 0.7842 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2695, allocations: 4 kB / 0.7842 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.938e-05/0.2696, allocations: 16 kB / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.177e-05/0.2696, allocations: 0 / 0.7843 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.2696, allocations: 11.98 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.2698, allocations: 27.97 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.2698, allocations: 3.938 kB / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.2698, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.2698, allocations: 0 / 0.7843 GB, free: 12.52 MB / 0.6075 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.0004454/0.2703, allocations: 353.3 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.2703, allocations: 8.031 kB / 0.7846 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.636e-05/0.2704, allocations: 30.75 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.251e-05/0.2704, allocations: 16.86 kB / 0.7847 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.2706, allocations: 172.2 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.2706, allocations: 384 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.693e-05/0.2706, allocations: 4.375 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.2707, allocations: 50.23 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.2708, allocations: 3.938 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.635e-05/0.2708, allocations: 4 kB / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.2708, allocations: 0 / 0.7849 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.128e-05/0.2708, allocations: 15.98 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.271, allocations: 161.7 kB / 0.7851 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.583e-05/0.2711, allocations: 30.5 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.2711, allocations: 16.92 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-06/0.2711, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.2712, allocations: 34.56 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2712, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002565/0.2714, allocations: 115.4 kB / 0.7853 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.681e-05/0.2715, allocations: 81.11 kB / 0.7853 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.2716, allocations: 89.86 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.2716, allocations: 29.7 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.627e-05/0.2716, allocations: 84.12 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.873e-05/0.2717, allocations: 8.156 kB / 0.7855 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.2717, allocations: 25.7 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.2718, allocations: 315 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.2719, allocations: 15.98 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.603e-05/0.2719, allocations: 8 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.464e-05/0.272, allocations: 84.25 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.272, allocations: 0 / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001378/0.2721, allocations: 99.31 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.43e-05/0.2722, allocations: 37.62 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.2722, allocations: 4 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.2722, allocations: 0 / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.172e-06/0.2723, allocations: 4.094 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2723, allocations: 3.938 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.2724, allocations: 4 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.2725, allocations: 11.98 kB / 0.7861 GB, free: 10.36 MB / 0.6075 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 0.0001319/0.2726, allocations: 135.5 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.97e-05/0.2726, allocations: 11.84 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.612e-05/0.2727, allocations: 3.125 kB / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-06/0.2727, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2727, allocations: 0 / 0.7863 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2727, allocations: 8 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.2728, allocations: 153.7 kB / 0.7864 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2728, allocations: 7.938 kB / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.2728, allocations: 0 / 0.7864 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.2728, allocations: 3.938 kB / 0.7864 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2728, allocations: 4 kB / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.2728, allocations: 0 / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2728, allocations: 0 / 0.7864 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001622/0.273, allocations: 122.8 kB / 0.7866 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.686e-05/0.2731, allocations: 81.11 kB / 0.7866 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.028e-05/0.2731, allocations: 3.938 kB / 0.7866 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2732, allocations: 7.984 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/0.2732, allocations: 7.938 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.315e-06/0.2732, allocations: 4 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.657e-05/0.2733, allocations: 79.28 kB / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2733, allocations: 0 / 0.7867 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002021/0.2735, allocations: 16.12 kB / 0.7868 GB, free: 9.613 MB / 0.6075 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.0005577/0.2741, allocations: 0.673 MB / 0.7874 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001438/0.2742, allocations: 83.42 kB / 0.7875 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2742, allocations: 3.938 kB / 0.7875 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.297e-05/0.2743, allocations: 75.33 kB / 0.7876 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001474/0.2744, allocations: 4 kB / 0.7876 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.2748, allocations: 138.6 kB / 0.7877 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.2751, allocations: 0.669 MB / 0.7884 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.2752, allocations: 8.109 kB / 0.7884 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.2752, allocations: 11.44 kB / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2752, allocations: 0 / 0.7884 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.2957, allocations: 1.847 MB / 0.7902 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.292/9.588, allocations: 8.125 kB / 0.7902 GB, free: 6.102 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.fmu > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1)