Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,fileNamePrefix="IDEAS_dev_IDEAS_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.006672/0.006672, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001605/0.001605, allocations: 190.1 kB / 16.67 MB, free: 6.391 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9611/0.9611, allocations: 135.1 MB / 425.7 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 67.91 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3829, allocations: 80.91 MB / 0.6642 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003204/0.3861, allocations: 3.026 MB / 0.6672 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002119/0.3882, allocations: 2.14 MB / 0.6693 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.3884, allocations: 5.406 kB / 0.6693 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.3896, allocations: 0.4996 MB / 0.6697 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.3899, allocations: 148.8 kB / 0.6699 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001064/0.39, allocations: 65.03 kB / 0.6699 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00039/0.3904, allocations: 449.7 kB / 0.6704 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.3906, allocations: 150.2 kB / 0.6705 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001731/0.3908, allocations: 165.5 kB / 0.6707 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.391, allocations: 179.2 kB / 0.6708 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.391, allocations: 33.88 kB / 0.6709 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.191e-05/0.3911, allocations: 39.28 kB / 0.6709 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.22e-05/0.3912, allocations: 94.42 kB / 0.671 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001483/0.3913, allocations: 225.2 kB / 0.6712 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003724/0.3917, allocations: 0.5412 MB / 0.6718 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.3917, allocations: 3.984 kB / 0.6718 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.132e-06/0.3917, allocations: 1.531 kB / 0.6718 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.3918, allocations: 0 / 0.6718 GB, free: 1.48 MB / 0.4981 GB 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.0008455/0.3926, allocations: 0.6953 MB / 0.6724 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3926, allocations: 10.09 kB / 0.6724 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.246e-05/0.3927, allocations: 53.3 kB / 0.6725 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.237e-05/0.3928, allocations: 45.53 kB / 0.6725 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004407/0.3932, allocations: 385.9 kB / 0.6729 GB, free: 452 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.3932, allocations: 21.56 kB / 0.6729 GB, free: 440 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.639e-05/0.3933, allocations: 17.94 kB / 0.6729 GB, free: 436 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003511/0.3936, allocations: 201.8 kB / 0.6731 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.3937, allocations: 0.9688 kB / 0.6731 GB, free: 304 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.888e-05/0.3937, allocations: 9.156 kB / 0.6731 GB, free: 296 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3937, allocations: 10.02 kB / 0.6732 GB, free: 292 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003545/0.3941, allocations: 158.7 kB / 0.6733 GB, free: 216 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.3952, allocations: 0.8649 MB / 0.6742 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.3955, allocations: 156 kB / 0.6743 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002094/0.3957, allocations: 116.9 kB / 0.6744 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3957, allocations: 5.281 kB / 0.6744 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/0.3958, allocations: 40.5 kB / 0.6745 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=18): time 2.895e-06/0.3958, allocations: 3.984 kB / 0.6745 GB, free: 15.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=18): time 0.000576/0.3964, allocations: 245.5 kB / 0.6747 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.85e-05/0.3964, allocations: 52.5 kB / 0.6747 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/0.3969, allocations: 417.3 kB / 0.6751 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.3969, allocations: 29.7 kB / 0.6752 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001484/0.397, allocations: 213.5 kB / 0.6754 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.196e-05/0.3971, allocations: 59.3 kB / 0.6754 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.3972, allocations: 35.45 kB / 0.6755 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.3973, allocations: 347.9 kB / 0.6758 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.3974, allocations: 53.03 kB / 0.6758 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001397/0.3976, allocations: 61.56 kB / 0.6759 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002985/0.3979, allocations: 144.7 kB / 0.676 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3979, allocations: 0 / 0.676 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003765/0.3983, allocations: 207.3 kB / 0.6762 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3983, allocations: 7.875 kB / 0.6762 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.3983, allocations: 0 / 0.6762 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.3983, allocations: 1.375 kB / 0.6763 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3986, allocations: 57 kB / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3986, allocations: 5.281 kB / 0.6763 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.3987, allocations: 18.48 kB / 0.6763 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.3988, allocations: 6.594 kB / 0.6763 GB, free: 13.89 MB / 0.5137 GB 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.0001418/0.3989, allocations: 163.9 kB / 0.6765 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.97e-05/0.399, allocations: 40.22 kB / 0.6765 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.914e-05/0.3991, allocations: 39.88 kB / 0.6766 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.307e-06/0.3991, allocations: 2.406 kB / 0.6766 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3991, allocations: 0 / 0.6766 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.3991, allocations: 7.984 kB / 0.6766 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.3995, allocations: 370.6 kB / 0.6769 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3995, allocations: 3.938 kB / 0.6769 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.3998, allocations: 53.53 kB / 0.677 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3998, allocations: 5.719 kB / 0.677 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.3998, allocations: 4 kB / 0.677 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3999, allocations: 5.609 kB / 0.677 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3999, allocations: 0 / 0.677 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006055/0.4005, allocations: 379 kB / 0.6774 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4006, allocations: 119.4 kB / 0.6775 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.4006, allocations: 5.281 kB / 0.6775 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.4008, allocations: 12.52 kB / 0.6775 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.555e-05/0.4009, allocations: 8.328 kB / 0.6775 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4009, allocations: 3.438 kB / 0.6775 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003391/0.4012, allocations: 311 kB / 0.6778 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4012, allocations: 0 / 0.6778 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003164/0.4015, allocations: 72 kB / 0.6779 GB, free: 12.73 MB / 0.5137 GB 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.0009136/0.4025, allocations: 0.9288 MB / 0.6788 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.4028, allocations: 135.9 kB / 0.6789 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.4029, allocations: 0 / 0.6789 GB, free: 11.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.403, allocations: 85.02 kB / 0.679 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.4036, allocations: 98.53 kB / 0.6791 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004499/0.4081, allocations: 3.486 MB / 0.6825 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003718/0.4085, allocations: 0.7978 MB / 0.6833 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001444/0.4086, allocations: 34.38 kB / 0.6833 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.4088, allocations: 117.8 kB / 0.6834 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of SimCode: time 4.91e-07/0.4088, allocations: 0 / 0.6834 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02922/0.438, allocations: 8.101 MB / 0.6913 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.3, allocations: 8.25 kB / 0.6913 GB, free: 4.684 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)