Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",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.001379/0.001379, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001393/0.001393, 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6889/0.6889, allocations: 115.3 MB / 406.5 MB, free: 6.223 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 60.94 kB / 0.5572 GB, free: 32.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1345, allocations: 76.19 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003955/0.1385, allocations: 3.004 MB / 0.6346 GB, free: 1.898 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.141, allocations: 2.151 MB / 0.6367 GB, free: 15.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.1413, allocations: 4 kB / 0.6367 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.1426, allocations: 0.4907 MB / 0.6372 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.1429, allocations: 150.8 kB / 0.6373 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001245/0.143, allocations: 55.95 kB / 0.6373 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004267/0.1434, allocations: 449.8 kB / 0.6378 GB, free: 14.6 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002519/0.1437, allocations: 159.2 kB / 0.6379 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.1439, allocations: 155.4 kB / 0.6381 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1441, allocations: 187.1 kB / 0.6383 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.548e-05/0.1442, allocations: 36 kB / 0.6383 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/0.1442, allocations: 36 kB / 0.6383 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1444, allocations: 95.67 kB / 0.6384 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001864/0.1446, allocations: 214.9 kB / 0.6386 GB, free: 13.73 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000491/0.1451, allocations: 0.5527 MB / 0.6392 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1451, allocations: 0 / 0.6392 GB, free: 13.17 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1451, allocations: 0 / 0.6392 GB, free: 13.17 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.964e-06/0.1451, allocations: 4 kB / 0.6392 GB, free: 13.17 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009869/0.1461, allocations: 0.6967 MB / 0.6398 GB, free: 12.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1461, allocations: 12.03 kB / 0.6399 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.427e-05/0.1462, allocations: 54.72 kB / 0.6399 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.796e-05/0.1463, allocations: 52.38 kB / 0.64 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004789/0.1468, allocations: 374.1 kB / 0.6403 GB, free: 11.89 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.415e-05/0.1468, allocations: 20.75 kB / 0.6403 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.1468, allocations: 20.38 kB / 0.6404 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003635/0.1472, allocations: 203.4 kB / 0.6405 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.1472, allocations: 0 / 0.6405 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.1472, allocations: 12 kB / 0.6406 GB, free: 11.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1473, allocations: 8 kB / 0.6406 GB, free: 11.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1476, allocations: 157.7 kB / 0.6407 GB, free: 11.47 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1487, allocations: 0.87 MB / 0.6416 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002757/0.149, allocations: 154.6 kB / 0.6417 GB, free: 10.37 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001964/0.1492, allocations: 112.8 kB / 0.6418 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.1492, allocations: 0 / 0.6418 GB, free: 10.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.1492, allocations: 30.56 kB / 0.6419 GB, free: 10.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.152e-06/0.1492, allocations: 0 / 0.6419 GB, free: 10.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005794/0.1498, allocations: 270.9 kB / 0.6421 GB, free: 9.945 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.1498, allocations: 55.41 kB / 0.6422 GB, free: 9.879 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004353/0.1503, allocations: 417.7 kB / 0.6426 GB, free: 9.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.1503, allocations: 29.7 kB / 0.6426 GB, free: 9.422 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000128/0.1505, allocations: 200.2 kB / 0.6428 GB, free: 9.223 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.748e-05/0.1505, allocations: 71.08 kB / 0.6428 GB, free: 9.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.46e-05/0.1506, allocations: 29.67 kB / 0.6429 GB, free: 9.117 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1507, allocations: 358.7 kB / 0.6432 GB, free: 8.758 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1508, allocations: 51.97 kB / 0.6433 GB, free: 8.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001396/0.151, allocations: 66.19 kB / 0.6433 GB, free: 8.645 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.1513, allocations: 128.8 kB / 0.6435 GB, free: 8.516 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1513, allocations: 0 / 0.6435 GB, free: 8.516 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003588/0.1516, allocations: 212.2 kB / 0.6437 GB, free: 8.305 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1517, allocations: 4 kB / 0.6437 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1517, allocations: 7.922 kB / 0.6437 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1517, allocations: 0 / 0.6437 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.1519, allocations: 63.89 kB / 0.6437 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.152, allocations: 0 / 0.6437 GB, free: 8.23 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.1521, allocations: 19.84 kB / 0.6437 GB, free: 8.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.1521, allocations: 4 kB / 0.6438 GB, free: 8.207 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 (20): * Single equations (assignments): 20 * 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.0001374/0.1523, allocations: 165.8 kB / 0.6439 GB, free: 8.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.534e-05/0.1523, allocations: 35.53 kB / 0.6439 GB, free: 8 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.755e-05/0.1524, allocations: 47.52 kB / 0.644 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.1524, allocations: 0 / 0.644 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1524, allocations: 0 / 0.644 GB, free: 7.953 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1524, allocations: 4 kB / 0.644 GB, free: 7.949 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003579/0.1528, allocations: 369.3 kB / 0.6443 GB, free: 7.539 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1528, allocations: 4 kB / 0.6443 GB, free: 7.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.153, allocations: 63.89 kB / 0.6444 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1531, allocations: 0 / 0.6444 GB, free: 7.473 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.604e-05/0.1531, allocations: 7.938 kB / 0.6444 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1531, allocations: 0 / 0.6444 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1531, allocations: 0 / 0.6444 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005664/0.1537, allocations: 376.8 kB / 0.6448 GB, free: 7.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1538, allocations: 120.8 kB / 0.6449 GB, free: 6.945 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.1538, allocations: 7.922 kB / 0.6449 GB, free: 6.938 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001529/0.154, allocations: 8 kB / 0.6449 GB, free: 6.93 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.154, allocations: 11.92 kB / 0.6449 GB, free: 6.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.1541, allocations: 4 kB / 0.6449 GB, free: 6.914 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003168/0.1544, allocations: 307.1 kB / 0.6452 GB, free: 6.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1544, allocations: 0 / 0.6452 GB, free: 6.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002937/0.1547, allocations: 71.84 kB / 0.6453 GB, free: 6.547 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000794/0.1555, allocations: 0.9227 MB / 0.6462 GB, free: 5.598 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003294/0.1558, allocations: 153.6 kB / 0.6463 GB, free: 5.449 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1558, allocations: 4.062 kB / 0.6463 GB, free: 5.445 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000145/0.156, allocations: 75.91 kB / 0.6464 GB, free: 5.371 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005333/0.1565, allocations: 99.39 kB / 0.6465 GB, free: 5.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004186/0.1607, allocations: 3.477 MB / 0.6499 GB, free: 1.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003236/0.1611, allocations: 0.795 MB / 0.6507 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.1612, allocations: 42.88 kB / 0.6507 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.1614, allocations: 111.4 kB / 0.6508 GB, free: 0.75 MB / 494.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1614, allocations: 8 kB / 0.6508 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.189, allocations: 8.09 MB / 0.6587 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.024/8.213, allocations: 14.69 kB / 0.6587 GB, free: 8.902 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)