Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube",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.001175/0.001175, allocations: 104.1 kB / 16.4 MB, free: 6.496 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.001252/0.001252, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6942/0.6942, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.66 kB / 0.5572 GB, free: 32.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1299, allocations: 76.18 MB / 0.6316 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004859/0.1347, allocations: 4.121 MB / 0.6357 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003202/0.138, allocations: 2.42 MB / 0.638 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004314/0.1384, allocations: 8 kB / 0.638 GB, free: 14.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.14, allocations: 0.5357 MB / 0.6386 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000641/0.1407, allocations: 246 kB / 0.6388 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.141, allocations: 139.8 kB / 0.6389 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009625/0.142, allocations: 0.8097 MB / 0.6397 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004925/0.1425, allocations: 338.5 kB / 0.64 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004482/0.143, allocations: 291 kB / 0.6403 GB, free: 11.94 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004257/0.1434, allocations: 326.6 kB / 0.6406 GB, free: 11.62 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001257/0.1435, allocations: 76 kB / 0.6407 GB, free: 11.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.1437, allocations: 79.94 kB / 0.6408 GB, free: 11.47 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.1439, allocations: 171.4 kB / 0.6409 GB, free: 11.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003861/0.1443, allocations: 386.3 kB / 0.6413 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008861/0.1451, allocations: 0.9966 MB / 0.6423 GB, free: 9.922 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1452, allocations: 4 kB / 0.6423 GB, free: 9.918 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1452, allocations: 0 / 0.6423 GB, free: 9.918 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.624e-05/0.1452, allocations: 0 / 0.6423 GB, free: 9.918 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001473/0.1467, allocations: 0.9501 MB / 0.6432 GB, free: 8.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1467, allocations: 8.031 kB / 0.6432 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.823e-05/0.1468, allocations: 86.7 kB / 0.6433 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1469, allocations: 80 kB / 0.6434 GB, free: 8.738 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.1476, allocations: 465.7 kB / 0.6438 GB, free: 8.242 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.1476, allocations: 29.38 kB / 0.6439 GB, free: 8.215 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.1477, allocations: 52.31 kB / 0.6439 GB, free: 8.164 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00069/0.1484, allocations: 430.6 kB / 0.6443 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.1484, allocations: 4 kB / 0.6443 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.787e-05/0.1484, allocations: 20 kB / 0.6443 GB, free: 7.715 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1485, allocations: 12 kB / 0.6443 GB, free: 7.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006624/0.1491, allocations: 367.8 kB / 0.6447 GB, free: 7.344 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001929/0.1511, allocations: 1.516 MB / 0.6462 GB, free: 5.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004726/0.1515, allocations: 331.5 kB / 0.6465 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004303/0.152, allocations: 333.2 kB / 0.6468 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.152, allocations: 15.7 kB / 0.6468 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.1521, allocations: 38.56 kB / 0.6469 GB, free: 5.027 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.904e-06/0.1521, allocations: 0 / 0.6469 GB, free: 5.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009099/0.153, allocations: 496.4 kB / 0.6473 GB, free: 4.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.153, allocations: 59.41 kB / 0.6474 GB, free: 4.465 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005264/0.1536, allocations: 485.9 kB / 0.6479 GB, free: 3.984 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/0.1536, allocations: 34.47 kB / 0.6479 GB, free: 3.945 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1538, allocations: 276.3 kB / 0.6482 GB, free: 3.672 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/0.1539, allocations: 145.8 kB / 0.6483 GB, free: 3.527 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-05/0.154, allocations: 66.06 kB / 0.6484 GB, free: 3.453 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.1541, allocations: 362.8 kB / 0.6487 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.1544, allocations: 120.7 kB / 0.6488 GB, free: 2.973 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002164/0.1546, allocations: 129.2 kB / 0.6489 GB, free: 2.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.155, allocations: 294.1 kB / 0.6492 GB, free: 2.559 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1551, allocations: 0 / 0.6492 GB, free: 2.559 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006043/0.1557, allocations: 404.3 kB / 0.6496 GB, free: 2.156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1557, allocations: 4 kB / 0.6496 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.1557, allocations: 4 kB / 0.6496 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.1557, allocations: 0 / 0.6496 GB, free: 2.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004834/0.1562, allocations: 123.9 kB / 0.6497 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.066e-05/0.1562, allocations: 7.938 kB / 0.6497 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002193/0.1565, allocations: 31.67 kB / 0.6498 GB, free: 1.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.1565, allocations: 12 kB / 0.6498 GB, free: 1.977 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 (46): * Single equations (assignments): 46 * 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.0002122/0.1567, allocations: 197.8 kB / 0.65 GB, free: 1.773 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.1568, allocations: 59.28 kB / 0.65 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.1569, allocations: 61.09 kB / 0.6501 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.1569, allocations: 8 kB / 0.6501 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1569, allocations: 0 / 0.6501 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.157, allocations: 0 / 0.6501 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006217/0.1576, allocations: 0.5713 MB / 0.6506 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1576, allocations: 3.938 kB / 0.6507 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.1581, allocations: 123.9 kB / 0.6508 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.1581, allocations: 4 kB / 0.6508 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.1581, allocations: 8 kB / 0.6508 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1581, allocations: 0 / 0.6508 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1581, allocations: 0 / 0.6508 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009086/0.1591, allocations: 0.6596 MB / 0.6514 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.1592, allocations: 132.4 kB / 0.6516 GB, free: 64 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.315e-05/0.1593, allocations: 16 kB / 0.6516 GB, free: 48 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002068/0.1595, allocations: 15.92 kB / 0.6516 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.1595, allocations: 23.97 kB / 0.6516 GB, free: 8 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-05/0.1596, allocations: 12.08 kB / 0.6516 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003561/0.1599, allocations: 351.1 kB / 0.652 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.16, allocations: 0 / 0.652 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003832/0.1603, allocations: 139.7 kB / 0.6521 GB, free: 15.51 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.001212/0.1616, allocations: 1.211 MB / 0.6533 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005672/0.1621, allocations: 327.9 kB / 0.6536 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.1622, allocations: 0 / 0.6536 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.1624, allocations: 179.8 kB / 0.6538 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.1631, allocations: 125.3 kB / 0.6539 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.169, allocations: 4.851 MB / 0.6586 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004052/0.1695, allocations: 0.8743 MB / 0.6595 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002142/0.1697, allocations: 48.41 kB / 0.6595 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.1699, allocations: 191.4 kB / 0.6597 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.17, allocations: 0 / 0.6597 GB, free: 7.59 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.202, allocations: 11.63 MB / 0.671 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.393/8.595, allocations: 1.562 kB / 0.671 GB, free: 12.27 MB / 0.5137 GB (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.fmu > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)