Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.7665/0.7665, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001413/0.001413, allocations: 176.8 kB / 169.7 MB, free: 1.75 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.797/1.797, allocations: 205.1 MB / 404.5 MB, free: 1.598 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.0008449/0.000845, allocations: 86.47 kB / 481.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.138e-05, allocations: 7.984 kB / 0.5533 GB, free: 54.7 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1661, allocations: 76.75 MB / 0.6283 GB, free: 9.891 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5593/0.7254, allocations: 113.9 MB / 0.7395 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/0.7258, allocations: 114.5 kB / 0.7396 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.06071/0.7865, allocations: 22.76 MB / 0.7619 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7865, allocations: 0 / 0.7619 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.461e-05/0.7866, allocations: 12 kB / 0.7619 GB, free: 11.35 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001137/0.7877, allocations: 0.7561 MB / 0.7626 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.697e-05/0.7878, allocations: 15.97 kB / 0.7626 GB, free: 10.53 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001203/0.7879, allocations: 86.52 kB / 0.7627 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.788, allocations: 71.16 kB / 0.7628 GB, free: 10.37 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.7887, allocations: 440.7 kB / 0.7632 GB, free: 9.895 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.295e-05/0.7887, allocations: 33 kB / 0.7632 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.88e-05/0.7888, allocations: 48 kB / 0.7633 GB, free: 9.816 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007005/0.7895, allocations: 394.6 kB / 0.7637 GB, free: 9.426 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.7895, allocations: 7.938 kB / 0.7637 GB, free: 9.418 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.7896, allocations: 24 kB / 0.7637 GB, free: 9.395 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.7896, allocations: 12 kB / 0.7637 GB, free: 9.383 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.7901, allocations: 331.9 kB / 0.764 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.7922, allocations: 1.543 MB / 0.7655 GB, free: 7.445 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/0.7927, allocations: 324.1 kB / 0.7658 GB, free: 7.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.7931, allocations: 325.4 kB / 0.7661 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 2.47e-05/0.7931, allocations: 11.92 kB / 0.7662 GB, free: 6.785 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.7932, allocations: 38.34 kB / 0.7662 GB, free: 6.738 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=42): time 2.705e-06/0.7932, allocations: 4 kB / 0.7662 GB, free: 6.734 MB / 0.5105 GB Notification: Performance of matching and sorting (n=42): time 0.0005571/0.7937, allocations: 336.7 kB / 0.7665 GB, free: 6.398 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.7938, allocations: 55.41 kB / 0.7666 GB, free: 6.332 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.7943, allocations: 431.2 kB / 0.767 GB, free: 5.902 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.7943, allocations: 29.7 kB / 0.767 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.7945, allocations: 276.3 kB / 0.7673 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/0.7947, allocations: 149.8 kB / 0.7674 GB, free: 5.445 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.691e-05/0.7947, allocations: 8 kB / 0.7674 GB, free: 5.438 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.7948, allocations: 362.8 kB / 0.7678 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.7951, allocations: 108.8 kB / 0.7679 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001631/0.7952, allocations: 105.5 kB / 0.768 GB, free: 4.863 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002022/0.7954, allocations: 122.3 kB / 0.7681 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.7954, allocations: 0 / 0.7681 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005026/0.796, allocations: 364 kB / 0.7684 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.796, allocations: 11.95 kB / 0.7684 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.796, allocations: 0 / 0.7684 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.796, allocations: 0 / 0.7684 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005201/0.7966, allocations: 131.9 kB / 0.7686 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.7966, allocations: 0 / 0.7686 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002922/0.7969, allocations: 51.66 kB / 0.7686 GB, free: 4.191 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.117e-05/0.7969, allocations: 12 kB / 0.7686 GB, free: 4.18 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 (46): * Single equations (assignments): 46 * 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 9.949e-05/0.797, allocations: 124.9 kB / 0.7688 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.7971, allocations: 51.34 kB / 0.7688 GB, free: 4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.7972, allocations: 64.83 kB / 0.7689 GB, free: 3.938 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.7972, allocations: 4 kB / 0.7689 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.7973, allocations: 0 / 0.7689 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.7973, allocations: 0 / 0.7689 GB, free: 3.934 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.7979, allocations: 0.579 MB / 0.7694 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.7979, allocations: 4 kB / 0.7694 GB, free: 3.301 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.7984, allocations: 127.9 kB / 0.7696 GB, free: 3.176 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.7985, allocations: 4 kB / 0.7696 GB, free: 3.172 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.25e-05/0.7985, allocations: 4 kB / 0.7696 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.7985, allocations: 7.953 kB / 0.7696 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.7985, allocations: 0 / 0.7696 GB, free: 3.16 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007931/0.7993, allocations: 0.608 MB / 0.7702 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.7994, allocations: 140.4 kB / 0.7703 GB, free: 2.379 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.519e-05/0.7995, allocations: 11.94 kB / 0.7703 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.7998, allocations: 19.98 kB / 0.7703 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.7998, allocations: 31.8 kB / 0.7704 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.7999, allocations: 12 kB / 0.7704 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003909/0.8003, allocations: 345.2 kB / 0.7707 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8003, allocations: 0 / 0.7707 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004587/0.8007, allocations: 163.5 kB / 0.7709 GB, free: 1.809 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * 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.001257/0.802, allocations: 1.309 MB / 0.7721 GB, free: 488 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004482/0.8025, allocations: 291.7 kB / 0.7724 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.8025, allocations: 0 / 0.7724 GB, free: 196 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002123/0.8027, allocations: 159.9 kB / 0.7726 GB, free: 36 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.8033, allocations: 130.6 kB / 0.7727 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.8051, allocations: 1.025 MB / 0.7737 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.8056, allocations: 0.8824 MB / 0.7746 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.8058, allocations: 48.36 kB / 0.7746 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002481/0.806, allocations: 195.4 kB / 0.7748 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/0.806, allocations: 0 / 0.7748 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.8332, allocations: 12.68 MB / 0.7872 GB, free: 1.277 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002537/0.8335, allocations: 232.3 kB / 0.7874 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.327/3.161, allocations: 0 / 0.7874 GB, free: 1.047 MB / 0.5261 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)