Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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/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.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_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.007229/0.007229, allocations: 102.2 kB / 15.73 MB, free: 5.996 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.001877/0.001877, allocations: 187.6 kB / 16.67 MB, free: 5.93 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9417/0.9417, allocations: 135.5 MB / 426.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 63.89 kB / 0.5858 GB, free: 3.152 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3613, allocations: 81.03 MB / 0.6649 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002007/0.3633, allocations: 1.436 MB / 0.6664 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003209/0.3666, allocations: 2.874 MB / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.323e-05/0.3666, allocations: 1.156 kB / 0.6692 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.691e-05/0.3666, allocations: 3.938 kB / 0.6692 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.3667, allocations: 13.27 kB / 0.6692 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002995/0.3697, allocations: 1.587 MB / 0.6707 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.325e-05/0.3698, allocations: 42.77 kB / 0.6708 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.3698, allocations: 3.516 kB / 0.6708 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.3699, allocations: 16.41 kB / 0.6708 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.596e-05/0.3699, allocations: 23.11 kB / 0.6708 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.3699, allocations: 1.156 kB / 0.6708 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.3717, allocations: 1.527 MB / 0.6723 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.294e-05/0.3717, allocations: 5.172 kB / 0.6723 GB, free: 1.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.985e-05/0.3718, allocations: 20.41 kB / 0.6723 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.373, allocations: 1.096 MB / 0.6734 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.373, allocations: 0 / 0.6734 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.373, allocations: 0 / 0.6734 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.373, allocations: 5.094 kB / 0.6734 GB, free: 0.8555 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000472/0.3735, allocations: 0.5349 MB / 0.6739 GB, free: 340 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.3735, allocations: 10.28 kB / 0.6739 GB, free: 340 kB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.921e-05/0.3736, allocations: 106 kB / 0.674 GB, free: 224 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.533e-05/0.3736, allocations: 90.52 kB / 0.6741 GB, free: 136 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.3738, allocations: 247.7 kB / 0.6744 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.044e-05/0.3739, allocations: 155.8 kB / 0.6745 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.275e-05/0.3739, allocations: 154.6 kB / 0.6746 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.103e-05/0.374, allocations: 106.2 kB / 0.6748 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3741, allocations: 75.28 kB / 0.6748 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/0.3741, allocations: 150.6 kB / 0.675 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-05/0.3742, allocations: 151.7 kB / 0.6751 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.678e-05/0.3743, allocations: 158.5 kB / 0.6753 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.3746, allocations: 466 kB / 0.6757 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.7e-05/0.3747, allocations: 170.3 kB / 0.6759 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.3748, allocations: 81.27 kB / 0.6759 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.946e-05/0.3748, allocations: 75.28 kB / 0.676 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.387e-05/0.3749, allocations: 111.1 kB / 0.6761 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.3749, allocations: 0 / 0.6761 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.601e-05/0.375, allocations: 36 kB / 0.6762 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.65e-05/0.375, allocations: 128 kB / 0.6763 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3752, allocations: 134.7 kB / 0.6764 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.3752, allocations: 25.7 kB / 0.6764 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.127e-05/0.3753, allocations: 90.98 kB / 0.6765 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.3753, allocations: 7.953 kB / 0.6765 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.185e-05/0.3753, allocations: 16.34 kB / 0.6765 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.3755, allocations: 324.5 kB / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.137e-05/0.3755, allocations: 2.344 kB / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.488e-05/0.3755, allocations: 4.016 kB / 0.6769 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.868e-05/0.3756, allocations: 17.64 kB / 0.6769 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3756, allocations: 1.25 kB / 0.6769 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001247/0.3757, allocations: 52.11 kB / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3757, allocations: 11.31 kB / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.3757, allocations: 7.344 kB / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.3758, allocations: 0 / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.3758, allocations: 1.688 kB / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.3758, allocations: 64 / 0.6769 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.489e-05/0.3758, allocations: 9.531 kB / 0.677 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3758, allocations: 0 / 0.677 GB, free: 13.13 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001102/0.3759, allocations: 190.7 kB / 0.6771 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.352e-05/0.376, allocations: 128.2 kB / 0.6773 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.992e-05/0.3761, allocations: 110.4 kB / 0.6774 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.531e-05/0.3762, allocations: 182.1 kB / 0.6775 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.239e-05/0.3763, allocations: 185.9 kB / 0.6777 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.943e-05/0.3763, allocations: 180.2 kB / 0.6779 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002723/0.3766, allocations: 415.8 kB / 0.6783 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/0.3767, allocations: 106.6 kB / 0.6784 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.153e-05/0.3767, allocations: 101 kB / 0.6785 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.089e-05/0.3768, allocations: 185.8 kB / 0.6787 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.604e-05/0.3769, allocations: 182 kB / 0.6788 GB, free: 11.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000131/0.377, allocations: 180.2 kB / 0.679 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.202e-05/0.3771, allocations: 182 kB / 0.6792 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.3773, allocations: 312.9 kB / 0.6795 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001032/0.3774, allocations: 187.9 kB / 0.6797 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.617e-05/0.3775, allocations: 182.1 kB / 0.6798 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.966e-05/0.3776, allocations: 101 kB / 0.6799 GB, free: 9.902 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/0.3777, allocations: 182 kB / 0.6801 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.3777, allocations: 112.9 kB / 0.6802 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.078e-05/0.3778, allocations: 100.4 kB / 0.6803 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3778, allocations: 0 / 0.6803 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007398/0.3786, allocations: 285.1 kB / 0.6806 GB, free: 9.434 MB / 0.5137 GB 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 (0): * Single equations (assignments): 0 * 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.001366/0.3799, allocations: 1.173 MB / 0.6817 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.621e-05/0.38, allocations: 50.72 kB / 0.6818 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3801, allocations: 0 / 0.6818 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.315e-06/0.3801, allocations: 5.406 kB / 0.6818 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.3805, allocations: 459.4 kB / 0.6822 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001474/0.382, allocations: 1.609 MB / 0.6838 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.3823, allocations: 0.6884 MB / 0.6845 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.54e-05/0.3823, allocations: 1 kB / 0.6845 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.004e-05/0.3824, allocations: 12.62 kB / 0.6845 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.3824, allocations: 1.062 kB / 0.6845 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3499/0.7323, allocations: 7.031 MB / 0.6913 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.81, allocations: 13.45 kB / 0.6913 GB, free: 2.152 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)