Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7582/0.7582, allocations: 127.4 MB / 134.9 MB, free: 3.473 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001196/0.001196, allocations: 184.7 kB / 164.7 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009291/0.000929, allocations: 87.88 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.353e-05, allocations: 2.594 kB / 0.5467 GB, free: 95.45 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1861, allocations: 76.78 MB / 0.6217 GB, free: 42.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1584/0.3446, allocations: 110.9 MB / 0.73 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/0.345, allocations: 115.9 kB / 0.7301 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4603/0.8053, allocations: 18.29 MB / 0.748 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.003e-06/0.8054, allocations: 0 / 0.748 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.8054, allocations: 10.5 kB / 0.748 GB, free: 113.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006768/0.8061, allocations: 0.5758 MB / 0.7486 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.8061, allocations: 11.59 kB / 0.7486 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.543e-05/0.8062, allocations: 44.94 kB / 0.7486 GB, free: 113.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.8067, allocations: 349.6 kB / 0.749 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.65e-05/0.8067, allocations: 8.125 kB / 0.749 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.8067, allocations: 15.53 kB / 0.749 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000265/0.807, allocations: 129.2 kB / 0.7491 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.8073, allocations: 153.7 kB / 0.7492 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.8073, allocations: 3.031 kB / 0.7493 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.8074, allocations: 1.219 kB / 0.7493 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.8074, allocations: 4.438 kB / 0.7493 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.8085, allocations: 0.8173 MB / 0.7501 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002226/0.8087, allocations: 135.3 kB / 0.7502 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.8089, allocations: 91.59 kB / 0.7503 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.8089, allocations: 2.156 kB / 0.7503 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.8089, allocations: 34.72 kB / 0.7503 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 1.373e-06/0.8089, allocations: 4 kB / 0.7503 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0003101/0.8092, allocations: 154.5 kB / 0.7505 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.203e-05/0.8093, allocations: 57.69 kB / 0.7505 GB, free: 112.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004124/0.8097, allocations: 330.5 kB / 0.7508 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.8097, allocations: 25.7 kB / 0.7509 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.8098, allocations: 205.6 kB / 0.751 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.87e-05/0.8099, allocations: 63.3 kB / 0.7511 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.8099, allocations: 0 / 0.7511 GB, free: 112.2 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.046e-05/0.81, allocations: 355.3 kB / 0.7514 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.231e-05/0.8101, allocations: 43.17 kB / 0.7515 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-05/0.8102, allocations: 37.09 kB / 0.7515 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.813e-05/0.8103, allocations: 46.48 kB / 0.7516 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8103, allocations: 0 / 0.7516 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002442/0.8105, allocations: 164.1 kB / 0.7517 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.8105, allocations: 4.594 kB / 0.7517 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.8106, allocations: 1.219 kB / 0.7517 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.8106, allocations: 1.031 kB / 0.7517 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002697/0.8109, allocations: 69.16 kB / 0.7518 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8109, allocations: 4.25 kB / 0.7518 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.811, allocations: 24.89 kB / 0.7518 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.8111, allocations: 3.688 kB / 0.7518 GB, free: 111.8 MB / 0.5105 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * 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 6.003e-05/0.8111, allocations: 106.8 kB / 0.7519 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000236/0.8114, allocations: 160.5 kB / 0.7521 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.8114, allocations: 39.09 kB / 0.7521 GB, free: 111.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.827e-05/0.8115, allocations: 36.78 kB / 0.7522 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.8115, allocations: 2.125 kB / 0.7522 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8115, allocations: 0 / 0.7522 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8115, allocations: 7.75 kB / 0.7522 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.8119, allocations: 327.5 kB / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/0.8119, allocations: 0 / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.8122, allocations: 55.59 kB / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.8122, allocations: 4 kB / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.8122, allocations: 1.438 kB / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.8122, allocations: 4.969 kB / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.8122, allocations: 3.844 kB / 0.7525 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.8126, allocations: 323.7 kB / 0.7529 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/0.8126, allocations: 110.7 kB / 0.753 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.112e-05/0.8127, allocations: 1.438 kB / 0.753 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.8129, allocations: 15.56 kB / 0.753 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.8129, allocations: 11.55 kB / 0.753 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.8129, allocations: 3.906 kB / 0.753 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0002402/0.8132, allocations: 263.6 kB / 0.7532 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8132, allocations: 0 / 0.7532 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000333/0.8135, allocations: 76.62 kB / 0.7533 GB, free: 111.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * 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.0007525/0.8143, allocations: 1.035 MB / 0.7543 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.8145, allocations: 114.5 kB / 0.7544 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.8145, allocations: 0 / 0.7544 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.035e-05/0.8146, allocations: 61.44 kB / 0.7545 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.815, allocations: 73.77 kB / 0.7546 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.8161, allocations: 0.5913 MB / 0.7551 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.8164, allocations: 0.8016 MB / 0.7559 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001172/0.8165, allocations: 37.06 kB / 0.756 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.8166, allocations: 112.2 kB / 0.7561 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.71e-07/0.8166, allocations: 1 kB / 0.7561 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.8446, allocations: 6.889 MB / 0.7628 GB, free: 107.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001892/0.8449, allocations: 215.6 kB / 0.763 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.068, allocations: 4 kB / 0.763 GB, free: 107.3 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)