Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState",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.001113/0.001113, allocations: 109.5 kB / 16.27 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 189 kB / 17.2 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.731/0.731, allocations: 122.9 MB / 413.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 0.4912 GB, free: 7.32 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3515, allocations: 77.92 MB / 0.5673 GB, free: 32.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState): time 0.002505/0.3541, allocations: 1.326 MB / 0.5686 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004036/0.3545, allocations: 177 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.424e-05/0.3545, allocations: 0.5 kB / 0.5688 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3546, allocations: 6.141 kB / 0.5688 GB, free: 31.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.673e-05/0.3546, allocations: 10.02 kB / 0.5688 GB, free: 31.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000348/0.355, allocations: 77.23 kB / 0.5689 GB, free: 31.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.778e-05/0.355, allocations: 27.86 kB / 0.5689 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.3551, allocations: 7.422 kB / 0.5689 GB, free: 31.69 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.745e-05/0.3551, allocations: 10.36 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.569e-05/0.3552, allocations: 17.14 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.395e-05/0.3552, allocations: 1.031 kB / 0.5689 GB, free: 31.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.3555, allocations: 126.2 kB / 0.5691 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.3555, allocations: 1.031 kB / 0.5691 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.619e-05/0.3555, allocations: 13.38 kB / 0.5691 GB, free: 31.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001898/0.3557, allocations: 92.53 kB / 0.5692 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3557, allocations: 0 / 0.5692 GB, free: 31.62 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3557, allocations: 1.125 kB / 0.5692 GB, free: 31.62 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.3558, allocations: 0 / 0.5692 GB, free: 31.62 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002981/0.3561, allocations: 340.2 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3561, allocations: 10.47 kB / 0.5695 GB, free: 31.25 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.741e-05/0.3561, allocations: 32.39 kB / 0.5695 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.3562, allocations: 6.969 kB / 0.5695 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.091e-05/0.3563, allocations: 168.6 kB / 0.5697 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.376e-05/0.3563, allocations: 384 / 0.5697 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.3563, allocations: 3.75 kB / 0.5697 GB, free: 31.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.3564, allocations: 40.83 kB / 0.5697 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.3564, allocations: 9.5 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.3564, allocations: 0 / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3565, allocations: 6.516 kB / 0.5697 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.3565, allocations: 19.11 kB / 0.5698 GB, free: 30.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001154/0.3566, allocations: 157.8 kB / 0.5699 GB, free: 30.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.131e-05/0.3567, allocations: 39.25 kB / 0.57 GB, free: 30.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.008e-05/0.3568, allocations: 18.05 kB / 0.57 GB, free: 30.72 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/0.3575, allocations: 140.2 kB / 0.5701 GB, free: 30.63 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.221e-05/0.3576, allocations: 31.66 kB / 0.5701 GB, free: 30.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 3.176e-06/0.3576, allocations: 2.188 kB / 0.5701 GB, free: 30.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001537/0.3577, allocations: 70.67 kB / 0.5702 GB, free: 30.54 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3578, allocations: 53.72 kB / 0.5703 GB, free: 30.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.846e-05/0.3578, allocations: 97.73 kB / 0.5704 GB, free: 30.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.3578, allocations: 30.86 kB / 0.5704 GB, free: 30.34 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.474e-05/0.3579, allocations: 83.59 kB / 0.5705 GB, free: 30.26 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.3579, allocations: 14.62 kB / 0.5705 GB, free: 30.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.811e-05/0.3579, allocations: 19.09 kB / 0.5705 GB, free: 30.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.358, allocations: 313.8 kB / 0.5708 GB, free: 29.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.358, allocations: 10.89 kB / 0.5708 GB, free: 29.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.358, allocations: 6.203 kB / 0.5708 GB, free: 29.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.143e-05/0.3581, allocations: 24.59 kB / 0.5708 GB, free: 29.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.3581, allocations: 0 / 0.5708 GB, free: 29.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.294e-05/0.3581, allocations: 56.08 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.3582, allocations: 8.469 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.3582, allocations: 2.078 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.3582, allocations: 0.625 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.464e-05/0.3582, allocations: 8.422 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3582, allocations: 0.75 kB / 0.5709 GB, free: 29.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.48e-05/0.3583, allocations: 4.969 kB / 0.5709 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.3583, allocations: 4.594 kB / 0.5709 GB, free: 29.85 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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 5.165e-05/0.3583, allocations: 111.5 kB / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.3584, allocations: 7.078 kB / 0.571 GB, free: 29.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001219/0.3585, allocations: 72.36 kB / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.3585, allocations: 1.344 kB / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.3585, allocations: 1.719 kB / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.3585, allocations: 0 / 0.5711 GB, free: 29.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.168e-05/0.3586, allocations: 157.4 kB / 0.5712 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3586, allocations: 2.25 kB / 0.5713 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.929e-05/0.3586, allocations: 11.72 kB / 0.5713 GB, free: 29.49 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3586, allocations: 5 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.3586, allocations: 1.828 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.3586, allocations: 1.844 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3587, allocations: 1.734 kB / 0.5713 GB, free: 29.48 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.624e-05/0.3587, allocations: 88.3 kB / 0.5714 GB, free: 29.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.497e-05/0.3588, allocations: 81.62 kB / 0.5714 GB, free: 29.31 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.3588, allocations: 10.59 kB / 0.5714 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.458e-05/0.3588, allocations: 5.375 kB / 0.5714 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.707e-05/0.3588, allocations: 2.984 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.3589, allocations: 2.969 kB / 0.5715 GB, free: 29.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.54e-05/0.3589, allocations: 80.53 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3589, allocations: 1.25 kB / 0.5715 GB, free: 29.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002203/0.3591, allocations: 30.73 kB / 0.5716 GB, free: 29.21 MB / 446.1 MB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0004544/0.3596, allocations: 0.6397 MB / 0.5722 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 9.765e-05/0.3597, allocations: 23.72 kB / 0.5722 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.3597, allocations: 0 / 0.5722 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.322e-05/0.3597, allocations: 10.81 kB / 0.5722 GB, free: 28.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.3599, allocations: 11.39 kB / 0.5722 GB, free: 28.59 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003737/0.3603, allocations: 151.5 kB / 0.5724 GB, free: 28.44 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.3604, allocations: 0.6781 MB / 0.573 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.733e-05/0.3605, allocations: 11.12 kB / 0.573 GB, free: 27.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.3605, allocations: 16.53 kB / 0.5731 GB, free: 27.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3605, allocations: 5.75 kB / 0.5731 GB, free: 27.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01841/0.3789, allocations: 2.382 MB / 0.5754 GB, free: 27.41 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.041, allocations: 12.31 kB / 0.5754 GB, free: 27.41 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.02 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_FiniteLineSource_SteadyState.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.FiniteLineSource_SteadyState.pipe 2>&1)