Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.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.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource",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.7337/0.7337, allocations: 127.4 MB / 134.9 MB, free: 3.496 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.001067/0.001067, allocations: 180.1 kB / 164.6 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.427/1.427, allocations: 205.2 MB / 399.5 MB, free: 13.54 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.0009174/0.0009174, allocations: 100.3 kB / 476.7 MB, free: 1.531 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.632e-05, allocations: 4.938 kB / 0.5467 GB, free: 95.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1406, allocations: 76.77 MB / 0.6217 GB, free: 43.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.2687, allocations: 102.6 MB / 0.7218 GB, free: 4.312 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.269, allocations: 107.9 kB / 0.7219 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004068/0.2731, allocations: 1.371 MB / 0.7233 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2731, allocations: 0 / 0.7233 GB, free: 2.832 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.2732, allocations: 0 / 0.7233 GB, free: 2.832 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003075/0.2735, allocations: 334.5 kB / 0.7236 GB, free: 2.461 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.2735, allocations: 15.97 kB / 0.7236 GB, free: 2.445 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.2739, allocations: 31.83 kB / 0.7236 GB, free: 2.414 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.2741, allocations: 175 kB / 0.7238 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2741, allocations: 0 / 0.7238 GB, free: 2.203 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.582e-05/0.2741, allocations: 8 kB / 0.7238 GB, free: 2.195 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001386/0.2743, allocations: 51.92 kB / 0.7239 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.649e-05/0.2744, allocations: 57.59 kB / 0.7239 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.762e-06/0.2744, allocations: 0 / 0.7239 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.2744, allocations: 0 / 0.7239 GB, free: 2.082 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.2744, allocations: 4 kB / 0.7239 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.2746, allocations: 150.2 kB / 0.7241 GB, free: 1.895 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.663e-05/0.2747, allocations: 54.56 kB / 0.7241 GB, free: 1.832 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.333e-05/0.2748, allocations: 32.97 kB / 0.7242 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.2748, allocations: 7.922 kB / 0.7242 GB, free: 1.789 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2748, allocations: 30.56 kB / 0.7242 GB, free: 1.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.2748, allocations: 3.938 kB / 0.7242 GB, free: 1.746 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.0002977/0.2751, allocations: 77.56 kB / 0.7243 GB, free: 1.664 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.284e-05/0.2752, allocations: 55.34 kB / 0.7243 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.224e-05/0.2753, allocations: 101 kB / 0.7244 GB, free: 1.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.2753, allocations: 25.7 kB / 0.7244 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.2753, allocations: 88.12 kB / 0.7245 GB, free: 1.371 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2754, allocations: 19.75 kB / 0.7245 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.2754, allocations: 0 / 0.7245 GB, free: 1.352 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.2755, allocations: 318.8 kB / 0.7248 GB, free: 1.031 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.122e-05/0.2756, allocations: 15.98 kB / 0.7249 GB, free: 1.016 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.718e-05/0.2756, allocations: 15.98 kB / 0.7249 GB, free: 1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.2757, allocations: 19.98 kB / 0.7249 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.2757, allocations: 0 / 0.7249 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002254/0.276, allocations: 77.56 kB / 0.725 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.276, allocations: 8 kB / 0.725 GB, free: 0.8906 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.276, allocations: 4 kB / 0.725 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.276, allocations: 0 / 0.725 GB, free: 0.8867 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.2761, allocations: 15.92 kB / 0.725 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2762, allocations: 0 / 0.725 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.2762, allocations: 4 kB / 0.725 GB, free: 0.8672 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.426e-06/0.2762, allocations: 0 / 0.725 GB, free: 0.8672 MB / 0.4948 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 (6): * Single equations (assignments): 6 * 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 8.215e-05/0.2763, allocations: 104.9 kB / 0.7251 GB, free: 0.7578 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002115/0.2765, allocations: 77.56 kB / 0.7252 GB, free: 0.6758 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.2766, allocations: 8 kB / 0.7252 GB, free: 0.668 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000239/0.2769, allocations: 86.2 kB / 0.7253 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2769, allocations: 4 kB / 0.7253 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.2769, allocations: 0 / 0.7253 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.2769, allocations: 0 / 0.7253 GB, free: 0.5781 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001632/0.2771, allocations: 150.2 kB / 0.7254 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2771, allocations: 0 / 0.7254 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.378e-05/0.2772, allocations: 11.98 kB / 0.7254 GB, free: 392 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2772, allocations: 4.312 kB / 0.7254 GB, free: 388 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.2772, allocations: 8 kB / 0.7254 GB, free: 380 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.2772, allocations: 4 kB / 0.7254 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.2772, allocations: 0 / 0.7254 GB, free: 376 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002679/0.2775, allocations: 119 kB / 0.7256 GB, free: 240 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.921e-05/0.2776, allocations: 89 kB / 0.7256 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.691e-05/0.2776, allocations: 0 / 0.7256 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.695e-05/0.2777, allocations: 3.938 kB / 0.7256 GB, free: 128 kB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.487e-05/0.2777, allocations: 7.984 kB / 0.7256 GB, free: 120 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.2777, allocations: 7.984 kB / 0.7257 GB, free: 112 kB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.2778, allocations: 87.28 kB / 0.7257 GB, free: 24 kB / 0.4948 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2778, allocations: 0 / 0.7257 GB, free: 24 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002331/0.278, allocations: 23.94 kB / 0.7258 GB, free: 0 / 0.4948 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 (7): * Single equations (assignments): 7 * 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.0008262/0.2789, allocations: 0.6671 MB / 0.7264 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001493/0.279, allocations: 44.69 kB / 0.7265 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.279, allocations: 4 kB / 0.7265 GB, free: 15.25 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.121e-05/0.2791, allocations: 23.98 kB / 0.7265 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.2793, allocations: 12.12 kB / 0.7265 GB, free: 15.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003918/0.2797, allocations: 143.6 kB / 0.7266 GB, free: 15.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/0.28, allocations: 0.6923 MB / 0.7273 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.2801, allocations: 27.91 kB / 0.7273 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.837e-05/0.2802, allocations: 15.44 kB / 0.7273 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of SimCode: time 2.3e-07/0.2802, allocations: 0 / 0.7273 GB, free: 14.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.2998, allocations: 1.653 MB / 0.729 GB, free: 12.67 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/0.3001, allocations: 231.1 kB / 0.7292 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.502/1.802, allocations: 0 / 0.7292 GB, free: 12.38 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Examples_InfiniteLineSource.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Examples.InfiniteLineSource.pipe 2>&1)