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.0007088/0.0007088, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007698/0.0007698, allocations: 176.4 kB / 16.58 MB, free: 6.5 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.183/1.183, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6066/0.6066, allocations: 113.7 MB / 405.4 MB, free: 4.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002694/0.0002694, allocations: 8.719 kB / 493.2 MB, free: 8.539 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.118, allocations: 77.11 MB / 0.5569 GB, free: 11.63 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003496/0.1215, allocations: 3.569 MB / 0.5604 GB, free: 8.043 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002777/0.1243, allocations: 2.201 MB / 0.5626 GB, free: 5.832 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.1247, allocations: 12 kB / 0.5626 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001069/0.1257, allocations: 458 kB / 0.563 GB, free: 5.371 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003917/0.1261, allocations: 206.5 kB / 0.5632 GB, free: 5.168 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.1263, allocations: 87.84 kB / 0.5633 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006308/0.127, allocations: 0.7585 MB / 0.564 GB, free: 4.324 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003129/0.1273, allocations: 249.5 kB / 0.5643 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1275, allocations: 231.1 kB / 0.5645 GB, free: 3.84 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.1278, allocations: 278.7 kB / 0.5648 GB, free: 3.566 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.1278, allocations: 36 kB / 0.5648 GB, free: 3.531 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.022e-05/0.1279, allocations: 36 kB / 0.5648 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.128, allocations: 123.5 kB / 0.5649 GB, free: 3.375 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1282, allocations: 165.3 kB / 0.5651 GB, free: 3.207 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005583/0.1287, allocations: 0.7945 MB / 0.5659 GB, free: 2.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1287, allocations: 0 / 0.5659 GB, free: 2.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1287, allocations: 0 / 0.5659 GB, free: 2.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.1287, allocations: 0 / 0.5659 GB, free: 2.41 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00105/0.1298, allocations: 0.8449 MB / 0.5667 GB, free: 1.516 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.1298, allocations: 12.03 kB / 0.5667 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.935e-05/0.1299, allocations: 86.52 kB / 0.5668 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.461e-05/0.13, allocations: 75.16 kB / 0.5669 GB, free: 1.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004718/0.1305, allocations: 440.7 kB / 0.5673 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.601e-05/0.1305, allocations: 37 kB / 0.5673 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.393e-05/0.1306, allocations: 47.95 kB / 0.5674 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006698/0.1313, allocations: 426.5 kB / 0.5678 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1313, allocations: 0 / 0.5678 GB, free: 372 kB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.367e-05/0.1313, allocations: 20 kB / 0.5678 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.1314, allocations: 12 kB / 0.5678 GB, free: 340 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006381/0.132, allocations: 379.7 kB / 0.5682 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.1338, allocations: 1.536 MB / 0.5697 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.1343, allocations: 354.7 kB / 0.57 GB, free: 14 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004499/0.1347, allocations: 357.9 kB / 0.5704 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.1348, allocations: 4 kB / 0.5704 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.04e-05/0.1348, allocations: 42.5 kB / 0.5704 GB, free: 13.59 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.1348, allocations: 0 / 0.5704 GB, free: 13.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008518/0.1357, allocations: 0.5049 MB / 0.5709 GB, free: 13.08 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.1357, allocations: 55.41 kB / 0.5709 GB, free: 13.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004839/0.1362, allocations: 481.9 kB / 0.5714 GB, free: 12.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.1362, allocations: 33.7 kB / 0.5714 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.1364, allocations: 280.3 kB / 0.5717 GB, free: 12.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.383e-05/0.1365, allocations: 145.8 kB / 0.5718 GB, free: 12.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.1365, allocations: 12 kB / 0.5719 GB, free: 12.06 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.1366, allocations: 358.8 kB / 0.5722 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.1369, allocations: 128.7 kB / 0.5723 GB, free: 11.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.1371, allocations: 129.4 kB / 0.5724 GB, free: 11.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1374, allocations: 151.7 kB / 0.5726 GB, free: 11.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1374, allocations: 0 / 0.5726 GB, free: 11.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005711/0.1379, allocations: 400.6 kB / 0.573 GB, free: 10.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.138, allocations: 8 kB / 0.573 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.138, allocations: 0 / 0.573 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.138, allocations: 0.7656 kB / 0.573 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004504/0.1384, allocations: 131.8 kB / 0.5731 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.1385, allocations: 0 / 0.5731 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002173/0.1387, allocations: 55.58 kB / 0.5732 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1387, allocations: 15.98 kB / 0.5732 GB, free: 10.7 MB / 446.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/0.1389, allocations: 189.8 kB / 0.5734 GB, free: 10.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.717e-05/0.139, allocations: 47.44 kB / 0.5734 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1391, allocations: 69.03 kB / 0.5735 GB, free: 10.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1391, allocations: 7.938 kB / 0.5735 GB, free: 10.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.1391, allocations: 11.95 kB / 0.5735 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.1391, allocations: 3.984 kB / 0.5735 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.1397, allocations: 0.5634 MB / 0.574 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1397, allocations: 0 / 0.574 GB, free: 9.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004614/0.1402, allocations: 131.8 kB / 0.5742 GB, free: 9.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1402, allocations: 4 kB / 0.5742 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.1402, allocations: 8 kB / 0.5742 GB, free: 9.609 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1402, allocations: 4 kB / 0.5742 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1402, allocations: 4 kB / 0.5742 GB, free: 9.602 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/0.1411, allocations: 0.6633 MB / 0.5748 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1412, allocations: 140.5 kB / 0.575 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.382e-05/0.1413, allocations: 8 kB / 0.575 GB, free: 8.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/0.1415, allocations: 31.88 kB / 0.575 GB, free: 8.727 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.1416, allocations: 23.91 kB / 0.575 GB, free: 8.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.659e-05/0.1416, allocations: 8 kB / 0.575 GB, free: 8.695 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003383/0.1419, allocations: 359 kB / 0.5754 GB, free: 8.348 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1419, allocations: 0 / 0.5754 GB, free: 8.348 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003566/0.1423, allocations: 143.6 kB / 0.5755 GB, free: 8.207 MB / 446.1 MB 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 (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.001123/0.1434, allocations: 1.207 MB / 0.5767 GB, free: 6.969 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0005306/0.144, allocations: 336.1 kB / 0.577 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.144, allocations: 0 / 0.577 GB, free: 6.641 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000266/0.1443, allocations: 191.5 kB / 0.5772 GB, free: 6.453 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006029/0.1449, allocations: 116.3 kB / 0.5773 GB, free: 6.34 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004568/0.1494, allocations: 3.334 MB / 0.5806 GB, free: 2.961 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.1499, allocations: 0.8668 MB / 0.5814 GB, free: 2.066 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001762/0.15, allocations: 56.33 kB / 0.5815 GB, free: 2.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/0.1503, allocations: 187.4 kB / 0.5816 GB, free: 1.828 MB / 446.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1503, allocations: 0 / 0.5816 GB, free: 1.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/0.3796, allocations: 10.32 MB / 0.5917 GB, free: 31.15 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000145/0.3798, allocations: 255.4 kB / 0.592 GB, free: 30.82 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/2.064, allocations: 0 / 0.592 GB, free: 30.82 MB / 446.1 MB (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/linux/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) Environment - environmentSimulation: