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.001551/0.001551, allocations: 105.4 kB / 15.7 MB, free: 24 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.001892/0.001892, allocations: 198.6 kB / 16.64 MB, free: 6.445 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.369/1.369, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.719/1.719, allocations: 292.3 MB / 0.549 GB, free: 12.76 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.001744/0.001745, allocations: 68.62 kB / 0.6718 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.223/0.2248, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002017/0.2268, allocations: 0.5639 MB / 0.7842 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000261/0.2271, allocations: 111.7 kB / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.803e-05/0.2272, allocations: 0 / 0.7843 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.244e-05/0.2273, allocations: 7.984 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.394e-05/0.2274, allocations: 3.938 kB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001695/0.2275, allocations: 35.95 kB / 0.7843 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.366e-05/0.2276, allocations: 23.98 kB / 0.7844 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.559e-05/0.2277, allocations: 3.984 kB / 0.7844 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.598e-05/0.2277, allocations: 27.91 kB / 0.7844 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.363e-05/0.2278, allocations: 11.98 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.701e-05/0.2278, allocations: 3.938 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.189e-05/0.2279, allocations: 8 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.015e-05/0.2279, allocations: 4 kB / 0.7844 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.368e-05/0.2279, allocations: 15.98 kB / 0.7844 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.228, allocations: 31.89 kB / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.228, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2281, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.2281, allocations: 0 / 0.7845 GB, free: 12.42 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.0003368/0.2284, allocations: 353.3 kB / 0.7848 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.2284, allocations: 12.03 kB / 0.7848 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.328e-05/0.2285, allocations: 34.75 kB / 0.7848 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.324e-05/0.2285, allocations: 4.938 kB / 0.7849 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.2287, allocations: 172.3 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.2287, allocations: 4.375 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2287, allocations: 4.375 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.2288, allocations: 50.23 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.2288, allocations: 3.938 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.2289, allocations: 0 / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.2289, allocations: 4 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.971e-05/0.2289, allocations: 11.92 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2291, allocations: 157.7 kB / 0.7852 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.002e-05/0.2291, allocations: 34.59 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.2292, allocations: 12.92 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.2292, allocations: 0 / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.2292, allocations: 30.56 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2292, allocations: 3.938 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002382/0.2295, allocations: 119.2 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.2295, allocations: 81.23 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.044e-05/0.2296, allocations: 97.86 kB / 0.7856 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2296, allocations: 25.7 kB / 0.7856 GB, free: 11 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.933e-05/0.2297, allocations: 84.08 kB / 0.7857 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.2297, allocations: 8.219 kB / 0.7857 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.431e-05/0.2297, allocations: 25.7 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.2298, allocations: 310.8 kB / 0.786 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.174e-05/0.2299, allocations: 16.11 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.67e-05/0.2299, allocations: 12 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.23, allocations: 76.25 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.23, allocations: 7.938 kB / 0.7861 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001305/0.2302, allocations: 95.39 kB / 0.7862 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.586e-05/0.2302, allocations: 37.62 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2302, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.2302, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.2302, allocations: 0 / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.2303, allocations: 8.094 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.2304, allocations: 8 kB / 0.7863 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.2304, allocations: 3.984 kB / 0.7863 GB, free: 10.27 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 9.104e-05/0.2305, allocations: 140.2 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.984e-05/0.2305, allocations: 15.84 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.252e-05/0.2306, allocations: 3.125 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.2306, allocations: 0 / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.2306, allocations: 0 / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2306, allocations: 4 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001/0.2307, allocations: 153.7 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2307, allocations: 0 / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.31e-07/0.2307, allocations: 0 / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.2307, allocations: 3.938 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.2307, allocations: 4 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2307, allocations: 0 / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.2307, allocations: 3.938 kB / 0.7866 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001635/0.2309, allocations: 126.8 kB / 0.7867 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.313e-05/0.2309, allocations: 77.11 kB / 0.7868 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.231, allocations: 11.88 kB / 0.7868 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.2311, allocations: 7.984 kB / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.348e-05/0.2311, allocations: 0 / 0.7868 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.2311, allocations: 8 kB / 0.7868 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.518e-05/0.2312, allocations: 79.28 kB / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2312, allocations: 0 / 0.7869 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001946/0.2314, allocations: 12 kB / 0.7869 GB, free: 9.523 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.0005218/0.2319, allocations: 0.6792 MB / 0.7876 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.2321, allocations: 87.42 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2321, allocations: 0 / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 6.481e-05/0.2321, allocations: 71.39 kB / 0.7877 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001426/0.2323, allocations: 7.375 kB / 0.7877 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000351/0.2326, allocations: 134.6 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.2329, allocations: 0.6729 MB / 0.7885 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.233, allocations: 7.922 kB / 0.7885 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.828e-05/0.233, allocations: 11.44 kB / 0.7885 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of SimCode: time 3.1e-07/0.233, allocations: 4.125 kB / 0.7885 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.2533, allocations: 1.862 MB / 0.7904 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.371, allocations: 7.562 kB / 0.7904 GB, free: 6.008 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)