Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.6886/0.6886, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000898/0.000898, allocations: 192 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.234/1.234, allocations: 221.3 MB / 441.4 MB, free: 4.625 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008687/0.0008689, allocations: 103.4 kB / 0.5124 GB, free: 24.14 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001725/0.001725, allocations: 278.6 kB / 0.5939 GB, free: 7.961 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.864e-05/2.866e-05, allocations: 4 kB / 0.6836 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3481, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.125/0.4732, allocations: 129.3 MB / 0.8907 GB, free: 11.17 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.4735, allocations: 124.5 kB / 0.8908 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.042/0.5155, allocations: 15.19 MB / 0.9057 GB, free: 11.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.243e-06/0.5155, allocations: 0 / 0.9057 GB, free: 11.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 5.431e-06/0.5156, allocations: 0 / 0.9057 GB, free: 11.86 MB / 0.573 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.0006359/0.5162, allocations: 0.5489 MB / 0.9062 GB, free: 11.27 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.5162, allocations: 8.031 kB / 0.9062 GB, free: 11.26 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.714e-05/0.5163, allocations: 105.8 kB / 0.9063 GB, free: 11.14 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.5164, allocations: 87.17 kB / 0.9064 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.5165, allocations: 251.4 kB / 0.9066 GB, free: 10.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.141e-05/0.5165, allocations: 150.6 kB / 0.9068 GB, free: 10.62 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/0.5166, allocations: 158.5 kB / 0.9069 GB, free: 10.47 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.851e-05/0.5167, allocations: 109 kB / 0.907 GB, free: 10.36 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/0.5167, allocations: 75.28 kB / 0.9071 GB, free: 10.28 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.668e-05/0.5167, allocations: 150.6 kB / 0.9073 GB, free: 10.13 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.136e-05/0.5168, allocations: 150.6 kB / 0.9074 GB, free: 9.984 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.5168, allocations: 150.6 kB / 0.9075 GB, free: 9.836 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002466/0.5171, allocations: 469.9 kB / 0.908 GB, free: 9.328 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/0.5172, allocations: 169.1 kB / 0.9081 GB, free: 9.152 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.834e-05/0.5172, allocations: 80.14 kB / 0.9082 GB, free: 9.07 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5172, allocations: 79.22 kB / 0.9083 GB, free: 8.992 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.284e-05/0.5173, allocations: 113.8 kB / 0.9084 GB, free: 8.871 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 8.62e-07/0.5173, allocations: 0 / 0.9084 GB, free: 8.871 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 6.361e-05/0.5174, allocations: 41.53 kB / 0.9084 GB, free: 8.824 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.183e-05/0.5174, allocations: 130.7 kB / 0.9086 GB, free: 8.684 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.5175, allocations: 114.4 kB / 0.9087 GB, free: 8.562 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.5175, allocations: 25.7 kB / 0.9087 GB, free: 8.531 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.5176, allocations: 92.12 kB / 0.9088 GB, free: 8.438 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.5176, allocations: 0 / 0.9088 GB, free: 8.438 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-06/0.5176, allocations: 7.938 kB / 0.9088 GB, free: 8.43 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.995e-05/0.5177, allocations: 322.8 kB / 0.9091 GB, free: 8.105 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.5177, allocations: 0 / 0.9091 GB, free: 8.105 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.183e-05/0.5177, allocations: 4 kB / 0.9091 GB, free: 8.102 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.185e-05/0.5178, allocations: 8.047 kB / 0.9091 GB, free: 8.094 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.5178, allocations: 3.953 kB / 0.9091 GB, free: 8.09 MB / 0.573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.978e-05/0.5179, allocations: 53.58 kB / 0.9092 GB, free: 8.031 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.5179, allocations: 4 kB / 0.9092 GB, free: 8.027 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.5179, allocations: 8 kB / 0.9092 GB, free: 8.02 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.5179, allocations: 4.062 kB / 0.9092 GB, free: 8.016 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.5179, allocations: 3.938 kB / 0.9092 GB, free: 8.012 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.5179, allocations: 0 / 0.9092 GB, free: 8.012 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.817e-05/0.518, allocations: 0 / 0.9092 GB, free: 8.012 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.518, allocations: 0 / 0.9092 GB, free: 8.012 MB / 0.573 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.006e-05/0.5181, allocations: 184.3 kB / 0.9094 GB, free: 7.824 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-05/0.5181, allocations: 108.8 kB / 0.9095 GB, free: 7.711 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.5182, allocations: 112.8 kB / 0.9096 GB, free: 7.594 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.151e-05/0.5182, allocations: 188.2 kB / 0.9098 GB, free: 7.402 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.341e-05/0.5183, allocations: 176.3 kB / 0.9099 GB, free: 7.223 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.423e-05/0.5183, allocations: 188.2 kB / 0.9101 GB, free: 7.031 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.5185, allocations: 409.2 kB / 0.9105 GB, free: 6.574 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.613e-05/0.5186, allocations: 108.9 kB / 0.9106 GB, free: 6.461 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.5186, allocations: 108.9 kB / 0.9107 GB, free: 6.348 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-05/0.5187, allocations: 176.3 kB / 0.9109 GB, free: 6.168 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.667e-05/0.5187, allocations: 184.2 kB / 0.9111 GB, free: 5.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.115e-05/0.5188, allocations: 180.3 kB / 0.9112 GB, free: 5.797 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.232e-05/0.5189, allocations: 184.2 kB / 0.9114 GB, free: 5.609 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001142/0.519, allocations: 307.8 kB / 0.9117 GB, free: 5.285 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.519, allocations: 191.2 kB / 0.9119 GB, free: 5.074 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.635e-05/0.5191, allocations: 184.2 kB / 0.9121 GB, free: 4.887 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.782e-05/0.5192, allocations: 104.9 kB / 0.9122 GB, free: 4.777 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.5193, allocations: 176.3 kB / 0.9123 GB, free: 4.598 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.5193, allocations: 113 kB / 0.9124 GB, free: 4.48 MB / 0.573 GB Notification: Performance of sorting global known variables: time 5.645e-05/0.5194, allocations: 101.6 kB / 0.9125 GB, free: 4.383 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5194, allocations: 0 / 0.9125 GB, free: 4.383 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006973/0.5201, allocations: 319.5 kB / 0.9128 GB, free: 4.07 MB / 0.573 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 (0): * Single equations (assignments): 0 * 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.001139/0.5212, allocations: 1.219 MB / 0.914 GB, free: 2.832 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 7.8e-05/0.5213, allocations: 45.69 kB / 0.9141 GB, free: 2.781 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.5213, allocations: 0 / 0.9141 GB, free: 2.781 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.5213, allocations: 0 / 0.9141 GB, free: 2.781 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.5216, allocations: 0.5316 MB / 0.9146 GB, free: 2.246 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004346/0.522, allocations: 337.2 kB / 0.9149 GB, free: 1.879 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.5222, allocations: 0.6887 MB / 0.9156 GB, free: 1.164 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 1.111e-05/0.5223, allocations: 0 / 0.9156 GB, free: 1.164 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.5223, allocations: 19.42 kB / 0.9156 GB, free: 1.145 MB / 0.573 GB Notification: Performance of SimCode: time 1.343e-06/0.5223, allocations: 0 / 0.9156 GB, free: 1.145 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2943/0.8166, allocations: 6.45 MB / 0.9219 GB, free: 137.5 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000139/0.8168, allocations: 290.1 kB / 0.9222 GB, free: 137.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.475, allocations: 0 / 0.9222 GB, free: 137.2 MB / 0.573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.fmu > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)