Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",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.005939/0.005938, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001507/0.001507, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437.1 MB / 0.7105 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 79.81 kB / 1.018 GB, free: 9.797 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6193/0.6211, allocations: 151.6 MB / 1.166 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002194/0.6233, allocations: 1.435 MB / 1.168 GB, free: 2.43 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003919/0.6272, allocations: 2.86 MB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.602e-05/0.6273, allocations: 0 / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.113e-05/0.6273, allocations: 3.938 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.416e-05/0.6274, allocations: 19.84 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003292/0.6307, allocations: 1.547 MB / 1.172 GB, free: 14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.797e-05/0.6308, allocations: 43.72 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.035e-05/0.6308, allocations: 4 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.169e-05/0.6308, allocations: 15.92 kB / 1.172 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.317e-05/0.6309, allocations: 15.88 kB / 1.172 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.6309, allocations: 4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001984/0.6329, allocations: 1.486 MB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.6329, allocations: 4 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.6329, allocations: 19.86 kB / 1.174 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001324/0.6342, allocations: 1.087 MB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.6343, allocations: 0 / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6343, allocations: 3.938 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.6343, allocations: 4 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005645/0.6348, allocations: 0.5285 MB / 1.175 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.6349, allocations: 16.86 kB / 1.175 GB, free: 10.71 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.108e-05/0.635, allocations: 110 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.462e-05/0.635, allocations: 80.17 kB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.6352, allocations: 255.5 kB / 1.176 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.48e-05/0.6353, allocations: 154.9 kB / 1.176 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.6353, allocations: 154.9 kB / 1.176 GB, free: 9.926 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.594e-05/0.6354, allocations: 104.9 kB / 1.176 GB, free: 9.816 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.967e-05/0.6354, allocations: 75.28 kB / 1.176 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.902e-05/0.6355, allocations: 150.6 kB / 1.176 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-05/0.6355, allocations: 150.6 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.528e-05/0.6356, allocations: 162.5 kB / 1.176 GB, free: 9.285 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003002/0.6359, allocations: 461.9 kB / 1.177 GB, free: 8.785 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 8.762e-05/0.636, allocations: 177.1 kB / 1.177 GB, free: 8.602 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.383e-05/0.6361, allocations: 80.14 kB / 1.177 GB, free: 8.52 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.085e-05/0.6361, allocations: 79.22 kB / 1.177 GB, free: 8.441 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/0.6362, allocations: 113.8 kB / 1.177 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.6362, allocations: 0 / 1.177 GB, free: 8.32 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 6.863e-05/0.6362, allocations: 33.66 kB / 1.177 GB, free: 8.281 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.314e-05/0.6363, allocations: 126.7 kB / 1.178 GB, free: 8.145 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.6364, allocations: 136.2 kB / 1.178 GB, free: 8.004 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.6365, allocations: 25.7 kB / 1.178 GB, free: 7.973 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.6365, allocations: 92.12 kB / 1.178 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.054e-06/0.6365, allocations: 4 kB / 1.178 GB, free: 7.875 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/0.6366, allocations: 17.72 kB / 1.178 GB, free: 7.852 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6367, allocations: 318.8 kB / 1.178 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.01e-05/0.6367, allocations: 4 kB / 1.178 GB, free: 7.527 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.411e-05/0.6367, allocations: 4.031 kB / 1.178 GB, free: 7.523 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.014e-05/0.6368, allocations: 16.8 kB / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.6368, allocations: 0 / 1.178 GB, free: 7.504 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001102/0.6369, allocations: 53.58 kB / 1.178 GB, free: 7.445 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.6369, allocations: 8.062 kB / 1.178 GB, free: 7.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6369, allocations: 4 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.6369, allocations: 0 / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.6369, allocations: 0 / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.637, allocations: 3.984 kB / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.637, allocations: 0 / 1.178 GB, free: 7.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.637, allocations: 4 kB / 1.178 GB, free: 7.426 MB / 0.9044 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.824e-05/0.6371, allocations: 185.1 kB / 1.178 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.99e-05/0.6372, allocations: 128.8 kB / 1.178 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.533e-05/0.6372, allocations: 108.8 kB / 1.179 GB, free: 6.98 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.724e-05/0.6373, allocations: 184.2 kB / 1.179 GB, free: 6.793 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.912e-05/0.6374, allocations: 180.3 kB / 1.179 GB, free: 6.609 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.148e-05/0.6375, allocations: 184.2 kB / 1.179 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002383/0.6377, allocations: 417.1 kB / 1.179 GB, free: 5.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-05/0.6377, allocations: 105 kB / 1.18 GB, free: 5.848 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.333e-05/0.6378, allocations: 104.9 kB / 1.18 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.769e-05/0.6379, allocations: 176.3 kB / 1.18 GB, free: 5.559 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.259e-05/0.6379, allocations: 188.2 kB / 1.18 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.088e-05/0.638, allocations: 188.1 kB / 1.18 GB, free: 5.176 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.552e-05/0.6381, allocations: 180.3 kB / 1.18 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.6382, allocations: 311.7 kB / 1.181 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.898e-05/0.6383, allocations: 190.1 kB / 1.181 GB, free: 4.453 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.857e-05/0.6384, allocations: 180.2 kB / 1.181 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.554e-05/0.6385, allocations: 101 kB / 1.181 GB, free: 4.164 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.6386, allocations: 188.2 kB / 1.181 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.6386, allocations: 105 kB / 1.181 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.6387, allocations: 105.6 kB / 1.182 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6387, allocations: 0 / 1.182 GB, free: 3.762 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0006119/0.6393, allocations: 287 kB / 1.182 GB, free: 3.48 MB / 0.9044 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.00123/0.6405, allocations: 1.164 MB / 1.183 GB, free: 2.289 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.315e-05/0.6406, allocations: 37.7 kB / 1.183 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6407, allocations: 0 / 1.183 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.6407, allocations: 0 / 1.183 GB, free: 2.246 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.6411, allocations: 463.7 kB / 1.183 GB, free: 1.789 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.6424, allocations: 1.58 MB / 1.185 GB, free: 128 kB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.6427, allocations: 0.6807 MB / 1.186 GB, free: 15.42 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.123e-05/0.6427, allocations: 0 / 1.186 GB, free: 15.42 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.378e-05/0.6427, allocations: 15.42 kB / 1.186 GB, free: 15.4 MB / 0.92 GB Notification: Performance of SimCode: time 3.7e-07/0.6427, allocations: 11.97 kB / 1.186 GB, free: 15.39 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.165/2.808, allocations: 6.882 MB / 1.192 GB, free: 8.723 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.4/17.2, allocations: 18 kB / 1.192 GB, free: 8.707 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)