Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 110.6 kB / 16.41 MB, free: 6.488 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.001236/0.001236, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.218/1.218, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6536/0.6536, allocations: 115.3 MB / 406.5 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 63.38 kB / 0.5578 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1183, allocations: 76.18 MB / 0.6322 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002117/0.1205, allocations: 1.344 MB / 0.6335 GB, free: 3.035 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.1219, allocations: 1.083 MB / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.409e-05/0.122, allocations: 0 / 0.6345 GB, free: 1.941 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 1.719e-05/0.122, allocations: 7.938 kB / 0.6345 GB, free: 1.934 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 3.807e-05/0.122, allocations: 7.922 kB / 0.6345 GB, free: 1.926 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005257/0.1226, allocations: 215.2 kB / 0.6347 GB, free: 1.715 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 5.726e-05/0.1226, allocations: 35.86 kB / 0.6348 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.381e-05/0.1227, allocations: 0 / 0.6348 GB, free: 1.68 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.599e-05/0.1227, allocations: 19.92 kB / 0.6348 GB, free: 1.66 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.084e-05/0.1228, allocations: 15.92 kB / 0.6348 GB, free: 1.645 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.1228, allocations: 7.938 kB / 0.6348 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005387/0.1234, allocations: 415.5 kB / 0.6352 GB, free: 1.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.696e-06/0.1234, allocations: 4 kB / 0.6352 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.1234, allocations: 19.91 kB / 0.6352 GB, free: 1.207 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000263/0.1237, allocations: 191.6 kB / 0.6354 GB, free: 1.02 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.1237, allocations: 4 kB / 0.6354 GB, free: 1.016 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1237, allocations: 0 / 0.6354 GB, free: 1.016 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1237, allocations: 0 / 0.6354 GB, free: 1.016 MB / 478.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.0003851/0.1241, allocations: 393.3 kB / 0.6358 GB, free: 0.5859 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.1241, allocations: 8.031 kB / 0.6358 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.871e-05/0.1241, allocations: 8.844 kB / 0.6358 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.1242, allocations: 168.4 kB / 0.636 GB, free: 376 kB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1243, allocations: 8.312 kB / 0.636 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1243, allocations: 4.375 kB / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.226e-05/0.1244, allocations: 42 kB / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.1244, allocations: 0 / 0.636 GB, free: 316 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1244, allocations: 4 kB / 0.636 GB, free: 312 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1244, allocations: 4 kB / 0.636 GB, free: 308 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.944e-05/0.1244, allocations: 12 kB / 0.636 GB, free: 296 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001446/0.1246, allocations: 157.7 kB / 0.6362 GB, free: 88 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.689e-05/0.1247, allocations: 46.5 kB / 0.6362 GB, free: 32 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.1247, allocations: 20.92 kB / 0.6363 GB, free: 8 kB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/0.1256, allocations: 0.9817 MB / 0.6372 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.1256, allocations: 42.5 kB / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1256, allocations: 0 / 0.6373 GB, free: 14.75 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001571/0.1258, allocations: 57.59 kB / 0.6373 GB, free: 14.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.1258, allocations: 55.41 kB / 0.6374 GB, free: 14.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.312e-05/0.1259, allocations: 109.8 kB / 0.6375 GB, free: 14.51 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1259, allocations: 29.64 kB / 0.6375 GB, free: 14.47 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.676e-05/0.1259, allocations: 84.14 kB / 0.6376 GB, free: 14.39 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.126, allocations: 15.75 kB / 0.6376 GB, free: 14.37 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/0.126, allocations: 25.7 kB / 0.6376 GB, free: 14.34 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.1261, allocations: 310.8 kB / 0.6379 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.693e-05/0.1261, allocations: 4 kB / 0.6379 GB, free: 14.02 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.647e-05/0.1261, allocations: 11.98 kB / 0.6379 GB, free: 14.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.957e-05/0.1262, allocations: 20.86 kB / 0.638 GB, free: 13.99 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1262, allocations: 0 / 0.638 GB, free: 13.99 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.87e-05/0.1263, allocations: 49.69 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.122e-05/0.1263, allocations: 7.938 kB / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.1263, allocations: 0 / 0.638 GB, free: 13.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.1263, allocations: 7.938 kB / 0.638 GB, free: 13.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.658e-05/0.1264, allocations: 15.94 kB / 0.638 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.1264, allocations: 0 / 0.638 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.35e-05/0.1264, allocations: 3.984 kB / 0.638 GB, free: 13.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1265, allocations: 4 kB / 0.638 GB, free: 13.89 MB / 494.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.696e-05/0.1265, allocations: 109.8 kB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.332e-05/0.1265, allocations: 11.84 kB / 0.6382 GB, free: 13.77 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1266, allocations: 60.34 kB / 0.6382 GB, free: 13.7 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1267, allocations: 4 kB / 0.6382 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1267, allocations: 0 / 0.6382 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.1267, allocations: 0 / 0.6382 GB, free: 13.69 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.1268, allocations: 161.7 kB / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1268, allocations: 0 / 0.6384 GB, free: 13.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.996e-05/0.1269, allocations: 15.94 kB / 0.6384 GB, free: 13.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.1269, allocations: 3.938 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1269, allocations: 0 / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1269, allocations: 3.984 kB / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1269, allocations: 0 / 0.6384 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.689e-05/0.127, allocations: 81.5 kB / 0.6385 GB, free: 13.36 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.923e-05/0.127, allocations: 88.98 kB / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.127, allocations: 0 / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.224e-05/0.1271, allocations: 0 / 0.6386 GB, free: 13.26 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/0.1271, allocations: 4 kB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-06/0.1271, allocations: 4 kB / 0.6386 GB, free: 13.25 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.1271, allocations: 91.56 kB / 0.6386 GB, free: 13.16 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1271, allocations: 0 / 0.6386 GB, free: 13.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002198/0.1274, allocations: 39.94 kB / 0.6387 GB, free: 13.12 MB / 494.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.0001977/0.1276, allocations: 159.1 kB / 0.6388 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.1277, allocations: 15.98 kB / 0.6389 GB, free: 12.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1277, allocations: 7.938 kB / 0.6389 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.132e-05/0.1277, allocations: 12 kB / 0.6389 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.1279, allocations: 9.047 kB / 0.6389 GB, free: 12.92 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1281, allocations: 152.3 kB / 0.639 GB, free: 12.74 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.1284, allocations: 0.6845 MB / 0.6397 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.808e-05/0.1284, allocations: 4 kB / 0.6397 GB, free: 12.03 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.735e-05/0.1284, allocations: 11.42 kB / 0.6397 GB, free: 12.02 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1284, allocations: 0 / 0.6397 GB, free: 12.02 MB / 494.1 MB Notification: Performance of Templates: time 0.002921/0.1314, allocations: 1.136 MB / 0.6408 GB, free: 10.93 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)