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/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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001069/0.001069, allocations: 190.4 kB / 16.25 MB, free: 6.637 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.21/1.21, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9115/0.9115, allocations: 143 MB / 433.1 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 59.91 kB / 0.5138 GB, free: 11.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1568, allocations: 82.03 MB / 0.5939 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004566/0.1614, allocations: 4.164 MB / 0.598 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002671/0.1641, allocations: 2.383 MB / 0.6003 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.1643, allocations: 8 kB / 0.6003 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.1656, allocations: 0.4956 MB / 0.6008 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003369/0.1659, allocations: 218.4 kB / 0.601 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.1661, allocations: 115.9 kB / 0.6011 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.1668, allocations: 0.8098 MB / 0.6019 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003873/0.1672, allocations: 322.5 kB / 0.6022 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002543/0.1674, allocations: 287 kB / 0.6025 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.1677, allocations: 338.6 kB / 0.6028 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.51e-05/0.1678, allocations: 76 kB / 0.6029 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.988e-05/0.1679, allocations: 76 kB / 0.603 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.168, allocations: 175.4 kB / 0.6032 GB, free: 368 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.2399/0.4079, allocations: 386.1 kB / 0.6035 GB, free: 38.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001039/0.409, allocations: 1.011 MB / 0.6045 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.409, allocations: 3.375 kB / 0.6045 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.409, allocations: 0 / 0.6045 GB, free: 38.03 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.105e-05/0.409, allocations: 3.062 kB / 0.6045 GB, free: 38.03 MB / 0.4981 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.001469/0.4105, allocations: 0.9438 MB / 0.6054 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.4105, allocations: 11.81 kB / 0.6054 GB, free: 37.45 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.564e-05/0.4106, allocations: 89.02 kB / 0.6055 GB, free: 37.41 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.4108, allocations: 78.66 kB / 0.6056 GB, free: 37.37 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/0.4113, allocations: 456.8 kB / 0.606 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.4113, allocations: 36.66 kB / 0.6061 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.4114, allocations: 49.06 kB / 0.6061 GB, free: 37.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006682/0.412, allocations: 432.3 kB / 0.6065 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.4121, allocations: 0 / 0.6065 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.4121, allocations: 20.92 kB / 0.6066 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.658e-06/0.4121, allocations: 12.34 kB / 0.6066 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006115/0.4127, allocations: 365.7 kB / 0.6069 GB, free: 37.05 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001728/0.4145, allocations: 1.541 MB / 0.6084 GB, free: 36.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.4149, allocations: 328.5 kB / 0.6087 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.4153, allocations: 320.2 kB / 0.609 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.4153, allocations: 5.562 kB / 0.609 GB, free: 36.57 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.462e-05/0.4154, allocations: 49.88 kB / 0.6091 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.695e-06/0.4154, allocations: 0.75 kB / 0.6091 GB, free: 36.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008618/0.4163, allocations: 0.4893 MB / 0.6096 GB, free: 36.46 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/0.4163, allocations: 59.72 kB / 0.6096 GB, free: 36.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004691/0.4168, allocations: 490.2 kB / 0.6101 GB, free: 36.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.4168, allocations: 32.14 kB / 0.6101 GB, free: 36.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.4169, allocations: 276.9 kB / 0.6104 GB, free: 36.12 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.26e-05/0.417, allocations: 146.8 kB / 0.6105 GB, free: 36.03 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.857e-05/0.4171, allocations: 59.14 kB / 0.6106 GB, free: 36.01 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.972e-05/0.4172, allocations: 361.3 kB / 0.6109 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/0.4174, allocations: 124.2 kB / 0.6111 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/0.4176, allocations: 122.3 kB / 0.6112 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004059/0.418, allocations: 302.4 kB / 0.6115 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.418, allocations: 1.281 kB / 0.6115 GB, free: 35.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000524/0.4186, allocations: 398.4 kB / 0.6118 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4186, allocations: 5.688 kB / 0.6118 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.4186, allocations: 0.5 kB / 0.6118 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4186, allocations: 3.969 kB / 0.6118 GB, free: 35.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.4191, allocations: 127.5 kB / 0.612 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.4191, allocations: 2.844 kB / 0.612 GB, free: 35.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4194, allocations: 47.69 kB / 0.612 GB, free: 35.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.4194, allocations: 7.75 kB / 0.612 GB, free: 35.59 MB / 0.4981 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 (46): * Single equations (assignments): 46 * 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 0.0001527/0.4195, allocations: 195.7 kB / 0.6122 GB, free: 35.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.815e-05/0.4196, allocations: 60.22 kB / 0.6123 GB, free: 35.44 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.116e-05/0.4197, allocations: 68.19 kB / 0.6123 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.4197, allocations: 2.844 kB / 0.6123 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.4197, allocations: 0 / 0.6123 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-06/0.4197, allocations: 3.234 kB / 0.6123 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005077/0.4203, allocations: 0.5713 MB / 0.6129 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4203, allocations: 0.5625 kB / 0.6129 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004539/0.4207, allocations: 126.1 kB / 0.613 GB, free: 35.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4207, allocations: 6.562 kB / 0.613 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.481e-05/0.4208, allocations: 10.47 kB / 0.613 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4208, allocations: 3.75 kB / 0.613 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.4208, allocations: 0 / 0.613 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.4216, allocations: 0.6428 MB / 0.6137 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4217, allocations: 140.2 kB / 0.6138 GB, free: 34.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/0.4217, allocations: 12 kB / 0.6138 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002304/0.422, allocations: 25.39 kB / 0.6138 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.422, allocations: 25.27 kB / 0.6139 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.4221, allocations: 11 kB / 0.6139 GB, free: 34.6 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003108/0.4224, allocations: 354.2 kB / 0.6142 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4224, allocations: 0 / 0.6142 GB, free: 34.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003698/0.4228, allocations: 144.7 kB / 0.6143 GB, free: 34.41 MB / 0.4981 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 () * Number of clocked 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 (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.0009949/0.4238, allocations: 1.21 MB / 0.6155 GB, free: 33.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.4244, allocations: 343.1 kB / 0.6159 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4244, allocations: 0 / 0.6159 GB, free: 33.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.4247, allocations: 182.8 kB / 0.616 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.4254, allocations: 124.7 kB / 0.6161 GB, free: 33.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005474/0.4309, allocations: 5.224 MB / 0.6212 GB, free: 30.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.4311, allocations: 0.8753 MB / 0.6221 GB, free: 29.55 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001834/0.4313, allocations: 50.33 kB / 0.6222 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001899/0.4315, allocations: 190.7 kB / 0.6223 GB, free: 29.4 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.4315, allocations: 4 kB / 0.6223 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.348/1.78, allocations: 11.1 MB / 0.6332 GB, free: 28.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001741/1.78, allocations: 283.9 kB / 0.6334 GB, free: 28.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.893/4.673, allocations: 0 / 0.6334 GB, free: 28.22 MB / 0.4981 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/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)