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: "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.0009478/0.0009478, allocations: 97.88 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 178.6 kB / 16.92 MB, free: 6.891 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.257/1.257, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6402/0.6402, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003104/0.0003105, allocations: 8 kB / 496 MB, free: 6.203 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1268, allocations: 77.54 MB / 0.5601 GB, free: 8.871 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001326/0.1282, allocations: 1.067 MB / 0.5611 GB, free: 7.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1298, allocations: 1.103 MB / 0.5622 GB, free: 6.68 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.1298, allocations: 4 kB / 0.5622 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.756e-05/0.1299, allocations: 0 / 0.5622 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.443e-05/0.1299, allocations: 7.922 kB / 0.5622 GB, free: 6.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005418/0.1305, allocations: 158.5 kB / 0.5624 GB, free: 6.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.1305, allocations: 35.8 kB / 0.5624 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.907e-05/0.1306, allocations: 0 / 0.5624 GB, free: 6.48 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.945e-05/0.1306, allocations: 8 kB / 0.5624 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.727e-05/0.1307, allocations: 15.92 kB / 0.5624 GB, free: 6.457 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1307, allocations: 4 kB / 0.5624 GB, free: 6.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.1313, allocations: 419.5 kB / 0.5628 GB, free: 6.043 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.45e-05/0.1313, allocations: 11.92 kB / 0.5629 GB, free: 6.031 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.324e-05/0.1313, allocations: 37.64 kB / 0.5629 GB, free: 5.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.1317, allocations: 203.8 kB / 0.5631 GB, free: 5.789 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1317, allocations: 3.984 kB / 0.5631 GB, free: 5.785 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1317, allocations: 0 / 0.5631 GB, free: 5.785 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.406e-06/0.1317, allocations: 0 / 0.5631 GB, free: 5.785 MB / 430.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.0003768/0.1321, allocations: 375.4 kB / 0.5634 GB, free: 5.371 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1321, allocations: 12.03 kB / 0.5635 GB, free: 5.359 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.083e-05/0.1321, allocations: 38.69 kB / 0.5635 GB, free: 5.312 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.128e-05/0.1322, allocations: 8.844 kB / 0.5635 GB, free: 5.305 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.721e-05/0.1323, allocations: 160.4 kB / 0.5637 GB, free: 5.109 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-06/0.1323, allocations: 4.375 kB / 0.5637 GB, free: 5.105 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1323, allocations: 4.375 kB / 0.5637 GB, free: 5.102 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.023e-05/0.1324, allocations: 41.81 kB / 0.5637 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.1324, allocations: 0 / 0.5637 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.153e-06/0.1324, allocations: 0 / 0.5637 GB, free: 5.055 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1324, allocations: 7.984 kB / 0.5637 GB, free: 5.047 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.336e-05/0.1325, allocations: 15.92 kB / 0.5637 GB, free: 5.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.1326, allocations: 157.7 kB / 0.5639 GB, free: 4.828 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.931e-05/0.1327, allocations: 42.56 kB / 0.5639 GB, free: 4.777 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.091e-05/0.1328, allocations: 16.89 kB / 0.5639 GB, free: 4.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008107/0.1336, allocations: 0.9856 MB / 0.5649 GB, free: 3.551 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.1336, allocations: 38.44 kB / 0.5649 GB, free: 3.504 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1336, allocations: 0 / 0.5649 GB, free: 3.504 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001496/0.1338, allocations: 61.53 kB / 0.565 GB, free: 3.438 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.1338, allocations: 51.41 kB / 0.565 GB, free: 3.375 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.451e-05/0.1339, allocations: 109.8 kB / 0.5651 GB, free: 3.258 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.1339, allocations: 25.7 kB / 0.5652 GB, free: 3.227 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.034e-05/0.1339, allocations: 92.12 kB / 0.5653 GB, free: 3.133 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.134, allocations: 11.83 kB / 0.5653 GB, free: 3.121 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.462e-05/0.134, allocations: 17.72 kB / 0.5653 GB, free: 3.098 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.658e-05/0.1341, allocations: 310.8 kB / 0.5656 GB, free: 2.785 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.789e-05/0.1341, allocations: 4 kB / 0.5656 GB, free: 2.781 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.786e-05/0.1341, allocations: 11.98 kB / 0.5656 GB, free: 2.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.1342, allocations: 20.86 kB / 0.5656 GB, free: 2.746 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1342, allocations: 3.938 kB / 0.5656 GB, free: 2.742 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.148e-05/0.1343, allocations: 61.53 kB / 0.5657 GB, free: 2.676 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1343, allocations: 4 kB / 0.5657 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1343, allocations: 0 / 0.5657 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.1343, allocations: 0 / 0.5657 GB, free: 2.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.1344, allocations: 15.98 kB / 0.5657 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1344, allocations: 0 / 0.5657 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.376e-05/0.1344, allocations: 0 / 0.5657 GB, free: 2.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.1345, allocations: 7.938 kB / 0.5657 GB, free: 2.648 MB / 430.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.993e-05/0.1345, allocations: 109.8 kB / 0.5658 GB, free: 2.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/0.1345, allocations: 11.94 kB / 0.5658 GB, free: 2.52 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001158/0.1347, allocations: 65.44 kB / 0.5659 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1347, allocations: 0 / 0.5659 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.1347, allocations: 0 / 0.5659 GB, free: 2.445 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1347, allocations: 3.984 kB / 0.5659 GB, free: 2.441 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001041/0.1348, allocations: 158 kB / 0.566 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1348, allocations: 0 / 0.566 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.1349, allocations: 19.94 kB / 0.5661 GB, free: 2.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1349, allocations: 3.984 kB / 0.5661 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.1349, allocations: 0 / 0.5661 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1349, allocations: 4 kB / 0.5661 GB, free: 2.211 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.1349, allocations: 4.312 kB / 0.5661 GB, free: 2.207 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.295e-05/0.135, allocations: 81.05 kB / 0.5661 GB, free: 2.109 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.008e-05/0.135, allocations: 84.95 kB / 0.5662 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.165e-05/0.1351, allocations: 0 / 0.5662 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.106e-05/0.1351, allocations: 0 / 0.5662 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.1351, allocations: 4 kB / 0.5662 GB, free: 2.004 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1351, allocations: 0 / 0.5662 GB, free: 2.004 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.544e-05/0.1352, allocations: 95.25 kB / 0.5663 GB, free: 1.91 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1352, allocations: 7.938 kB / 0.5663 GB, free: 1.902 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.1354, allocations: 39.94 kB / 0.5664 GB, free: 1.863 MB / 430.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.0004118/0.1358, allocations: 0.6657 MB / 0.567 GB, free: 1.172 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.1359, allocations: 19.94 kB / 0.567 GB, free: 1.152 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1359, allocations: 4 kB / 0.567 GB, free: 1.148 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.136, allocations: 15.98 kB / 0.5671 GB, free: 1.133 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001976/0.1362, allocations: 5.531 kB / 0.5671 GB, free: 1.129 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003935/0.1366, allocations: 227.9 kB / 0.5673 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001777/0.1368, allocations: 0.6809 MB / 0.5679 GB, free: 164 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.203e-05/0.1368, allocations: 4 kB / 0.5679 GB, free: 160 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.146e-05/0.1369, allocations: 15.44 kB / 0.568 GB, free: 144 kB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1369, allocations: 0 / 0.568 GB, free: 144 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1989/0.3358, allocations: 1.977 MB / 0.5699 GB, free: 14.41 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003714/0.3362, allocations: 287.9 kB / 0.5702 GB, free: 14.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.727/2.063, allocations: 0 / 0.5702 GB, free: 14.04 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1)